Skip to content

Commit 1bc5550

Browse files
committed
Adding pylint and bandit hooks.
Adding linter compliance to source.
1 parent 52c71b5 commit 1bc5550

File tree

5 files changed

+616
-0
lines changed

5 files changed

+616
-0
lines changed

Diff for: .pre-commit-config.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,15 @@ repos:
2424
rev: v1.4
2525
hooks:
2626
- id: docformatter
27+
- repo: https://github.com/PyCQA/pylint
28+
rev: v2.12.2
29+
hooks:
30+
- id: pylint
31+
- repo: https://github.com/PyCQA/bandit
32+
rev: 1.7.4
33+
hooks:
34+
- id: bandit
35+
args: [
36+
--skip, "B101"
37+
# B101 Assert is used exclusively for tests.
38+
]

0 commit comments

Comments
 (0)