File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ pylint plugin that enforces some secure coding standards.
2929| E8013 | Avoid using ` pickle.load() ` and ` pickle.loads() ` |
3030| E8014 | Avoid using ` marshal.load() ` and ` marshal.loads() ` |
3131| E8015 | Avoid using ` shelve.open() ` |
32- | E8016 | Avoid using ` os.mkdir ` and ` os.makedirs ` with unsafe file permissions |
33- | E8017 | Avoid using ` os.mkfifo ` with unsafe file permissions |
34- | E8018 | Avoid using ` os.mknod ` with unsafe file permissions |
32+ | W8016 | Avoid using ` os.mkdir ` and ` os.makedirs ` with unsafe file permissions |
33+ | W8017 | Avoid using ` os.mkfifo ` with unsafe file permissions |
34+ | W8018 | Avoid using ` os.mknod ` with unsafe file permissions |
3535
3636
3737## Plugin configuration options
Original file line number Diff line number Diff line change @@ -307,10 +307,10 @@ class SecureCodingStandardChecker(BaseChecker):
307307 """Plugin class."""
308308
309309 DEFAULT_MAX_MODE = 0o755
310- W8012_DISPLAY_MSG = 'Avoid using `os.open` with unsafe permissions permissions '
311- W8016_DISPLAY_MSG = 'Avoid using `os.mkdir` and `os.makedirs` with unsafe permissions permissions '
312- W8017_DISPLAY_MSG = 'Avoid using `os.mkfifo` with unsafe permissions permissions '
313- W8018_DISPLAY_MSG = 'Avoid using `os.mknod` with unsafe permissions permissions '
310+ W8012_DISPLAY_MSG = 'Avoid using `os.open` with unsafe permissions'
311+ W8016_DISPLAY_MSG = 'Avoid using `os.mkdir` and `os.makedirs` with unsafe permissions'
312+ W8017_DISPLAY_MSG = 'Avoid using `os.mkfifo` with unsafe permissions'
313+ W8018_DISPLAY_MSG = 'Avoid using `os.mknod` with unsafe permissions'
314314
315315 __implements__ = (IAstroidChecker ,)
316316
You can’t perform that action at this time.
0 commit comments