summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2020-06-24 22:37:40 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2020-06-24 22:37:40 -0700
commita4dea5fa72907ffefb21e40ef194f274c86f847a (patch)
tree6f5dbd429f41880b3b765ed4c5065b7ab70e8add /scripts
parent78d6d275475adc25fae539c76331b3590360e130 (diff)
downloadisort-a4dea5fa72907ffefb21e40ef194f274c86f847a.tar.gz
Ensure posixpath is included in stdlib across versions
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkstdlibs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkstdlibs.py b/scripts/mkstdlibs.py
index d28b93d2..f20aac34 100755
--- a/scripts/mkstdlibs.py
+++ b/scripts/mkstdlibs.py
@@ -30,7 +30,7 @@ for version_info in VERSIONS:
url = URL.format(version)
invdata = fetch_inventory(FakeApp(), "", url)
- modules = set()
+ modules = {"posixpath"} # Any modules we want to enforce across Python versions stdlibs
for module in invdata["py:module"]:
root, *_ = module.split(".")
if root not in ["__future__", "__main__"]: