diff --git a/docs/conf.py b/docs/conf.py index bf8079c159..59901bb3a3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,13 +12,13 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys import os +import sys from datetime import datetime import django -from wagtail import __version__, VERSION +from wagtail import VERSION, __version__ # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org diff --git a/scripts/get-translator-credits.py b/scripts/get-translator-credits.py index 37586f3e97..50f7c787eb 100644 --- a/scripts/get-translator-credits.py +++ b/scripts/get-translator-credits.py @@ -1,5 +1,5 @@ -import subprocess import re +import subprocess from collections import defaultdict from io import open diff --git a/scripts/nightly/upload.py b/scripts/nightly/upload.py index 3facb2afa0..397bfa5eef 100644 --- a/scripts/nightly/upload.py +++ b/scripts/nightly/upload.py @@ -1,6 +1,6 @@ +import json import pathlib import sys -import json import boto3 diff --git a/setup.py b/setup.py index a2e83a7cf8..a306953dae 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from wagtail import __version__ -from wagtail.utils.setup import assets, sdist, check_bdist_egg +from wagtail.utils.setup import assets, check_bdist_egg, sdist try: from setuptools import setup, find_packages