diff options
author | Tim Harder <radhermit@gmail.com> | 2020-11-16 02:20:09 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2020-11-16 02:23:06 -0700 |
commit | d34d77c882a391a97bc19100bbb5eb11db799919 (patch) | |
tree | 111d6a59ee4475f3e192c849bf16400f4d33b3fa /doc | |
parent | checks: fix minor logging lint issues (diff) | |
download | pkgcheck-d34d77c882a391a97bc19100bbb5eb11db799919.tar.gz pkgcheck-d34d77c882a391a97bc19100bbb5eb11db799919.tar.bz2 pkgcheck-d34d77c882a391a97bc19100bbb5eb11db799919.zip |
sort imports with isort
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 3 | ||||
-rwxr-xr-x | doc/generate/pkgcheck/checks.py | 4 | ||||
-rwxr-xr-x | doc/generate/pkgcheck/keywords.py | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py index c47daea4..4bfa4358 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,9 +13,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. -from importlib import import_module import os import sys +from importlib import import_module # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -27,7 +27,6 @@ if os.path.exists(libdir): os.environ['PKGDIST_REPODIR'] = os.path.abspath('..') from snakeoil.dist import distutils_extensions as pkgdist - # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. diff --git a/doc/generate/pkgcheck/checks.py b/doc/generate/pkgcheck/checks.py index ea026254..727c1c6e 100755 --- a/doc/generate/pkgcheck/checks.py +++ b/doc/generate/pkgcheck/checks.py @@ -14,9 +14,9 @@ that operate at a package or version scope will be run. On the other hand, when running against an entire repo, all defined checks will be run. """ -from operator import attrgetter import sys -from textwrap import dedent, TextWrapper +from operator import attrgetter +from textwrap import TextWrapper, dedent from snakeoil.strings import pluralism as _pl diff --git a/doc/generate/pkgcheck/keywords.py b/doc/generate/pkgcheck/keywords.py index aa28dfed..b05ba8e2 100755 --- a/doc/generate/pkgcheck/keywords.py +++ b/doc/generate/pkgcheck/keywords.py @@ -9,8 +9,8 @@ Keywords List of result keywords that can be produced by pkgcheck. """ -from collections import defaultdict import sys +from collections import defaultdict from textwrap import dedent from snakeoil.strings import pluralism as _pl |