Skip to content

Commit 6d9458e

Browse files
committed
Fix typos
1 parent c76d390 commit 6d9458e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

pylint_secure_coding_standard.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)