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:
authorMads Jensen <mje@inducks.org>2020-12-16 22:34:12 +0300
committerGitHub <noreply@github.com>2020-12-16 22:34:12 +0300
commit96a05d946c73a3f02dc03ed2f8ae0a73e261741c (patch)
tree8fcb031aac5d7de59642b98f4596aefd18048b33 /linter_plugin.py
parentd38766e05c306a81d1bd7798187dfb8f96a66d5d (diff)
Added certbot-ci to lint section. Silenced and fixed linting warnings. (#8450)
Diffstat (limited to 'linter_plugin.py')
-rw-r--r--linter_plugin.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/linter_plugin.py b/linter_plugin.py
index 75879f73a..a19bf7df9 100644
--- a/linter_plugin.py
+++ b/linter_plugin.py
@@ -10,7 +10,9 @@ 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', 'lock_test']
+WHITELIST_PACKAGES = [
+ 'acme', 'certbot_integration_tests', 'certbot_compatibility_test', 'lock_test'
+]
class ForbidStandardOsModule(BaseChecker):
@@ -25,8 +27,8 @@ class ForbidStandardOsModule(BaseChecker):
'E5001': (
'Forbidden use of os module, certbot.compat.os must be used instead',
'os-module-forbidden',
- 'Some methods from the standard os module cannot be used for security reasons on Windows: '
- 'the safe wrapper certbot.compat.os must be used instead in Certbot.'
+ 'Some methods from the standard os module cannot be used for security reasons on '
+ 'Windows: the safe wrapper certbot.compat.os must be used instead in Certbot.'
)
}
priority = -1