mirror of
https://github.com/certbot/certbot.git
synced 2025-07-28 21:42:01 +03:00
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
This commit is contained in:
committed by
ohemorange
parent
34b568f366
commit
e048da1e38
@ -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']
|
||||
|
||||
|
Reference in New Issue
Block a user