Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2019-12-09 23:50:20 +0300
committerohemorange <ebportnoy@gmail.com>2019-12-09 23:50:20 +0300
commite048da1e389ede7a52bd518ab4ebf9a0b18bfafc (patch)
tree40988b5a13e06d53585c2ed44db73fb9759e993b /linter_plugin.py
parent34b568f36648dd5c4103c3a444e81b5662e6be81 (diff)
Reorganize imports (#7616)
* Isort execution * Fix pylint, adapt coverage * New isort * Fix magic_typing lint * Second round * Fix pylint * Third round. Store isort configuration * Fix latest mistakes * Other fixes * Add newline * Fix lint errors
Diffstat (limited to 'linter_plugin.py')
-rw-r--r--linter_plugin.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/linter_plugin.py b/linter_plugin.py
index e870fda3a..6be8c2414 100644
--- a/linter_plugin.py
+++ b/linter_plugin.py
@@ -1,13 +1,14 @@
-"""Certbot PyLint plugin.
-http://docs.pylint.org/plugins.html
"""
-# The built-in ImportChecker of Pylint does a similar job to ForbidStandardOsModule to detect
-# deprecated modules. You can check its behavior as a reference to what is coded here.
-# See https://github.com/PyCQA/pylint/blob/b20a2984c94e2946669d727dbda78735882bf50a/pylint/checkers/imports.py#L287
+Certbot PyLint plugin.
+
+The built-in ImportChecker of Pylint does a similar job to ForbidStandardOsModule to detect
+deprecated modules. You can check its behavior as a reference to what is coded here.
+See https://github.com/PyCQA/pylint/blob/b20a2984c94e2946669d727dbda78735882bf50a/pylint/checkers/imports.py#L287
+See http://docs.pylint.org/plugins.html
+"""
from pylint.checkers import BaseChecker
from pylint.interfaces import IAstroidChecker
-
# Modules in theses packages can import the os module.
WHITELIST_PACKAGES = ['acme', 'certbot_compatibility_test', 'letshelp_certbot', 'lock_test']