mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-31 02:33:43 +01:00
Initial configuration for Bandit and Prospector
With this configuration it should be feasible to achieve a perfect score without contortion. Rules skiped for Bandit: B101: assert_used B104: hardcoded_bind_all_interfaces B404: import_subprocess B603: subprocess_without_shell_equals_true B606: start_process_with_no_shell B607: start_process_with_partial_path Rules skiped for pylint: - too-many-statements - too-many-locals - too-many-function-args - too-many-arguments - too-many-branches - bare-except - protected-access - no-else-return
This commit is contained in:
parent
112931dd2c
commit
6a488b3db9
3
.bandit
Normal file
3
.bandit
Normal file
@ -0,0 +1,3 @@
|
||||
[bandit]
|
||||
exclude: sshuttle/tests
|
||||
skips: B101,B104,B404,B603,B606,B607
|
19
.prospector.yml
Normal file
19
.prospector.yml
Normal file
@ -0,0 +1,19 @@
|
||||
strictness: medium
|
||||
|
||||
pylint:
|
||||
disable:
|
||||
- too-many-statements
|
||||
- too-many-locals
|
||||
- too-many-function-args
|
||||
- too-many-arguments
|
||||
- too-many-branches
|
||||
- bare-except
|
||||
- protected-access
|
||||
- no-else-return
|
||||
|
||||
pep8:
|
||||
options:
|
||||
max-line-length: 79
|
||||
|
||||
mccabe:
|
||||
run: false
|
Loading…
Reference in New Issue
Block a user