File tree Expand file tree Collapse file tree 4 files changed +4
-31
lines changed
Expand file tree Collapse file tree 4 files changed +4
-31
lines changed Original file line number Diff line number Diff line change 2222 - id : black
2323 args : [--safe, --quiet]
2424 files : (examples|pymodbus|test)/
25- - repo : https://github.com/PyCQA/bandit
26- rev : 1.7.5
27- hooks :
28- - id : bandit
29- args : [-c, bandit.yaml]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ sphinx-rtd-theme==1.1.1
4646# development, everything needed to develop/test/check.
4747# -------------------------------------------------------------------
4848# install:development
49- bandit == 1.7.4
5049codespell == 2.2.2
5150coverage == 7.1.0
5251mypy == 1.0.1
Original file line number Diff line number Diff line change @@ -12,10 +12,12 @@ ignore = [
1212 " E501" , # line too long
1313 " E731" , # lambda expressions
1414 " PT019" , # Bug: https://github.com/m-burst/flake8-pytest-style/issues/202
15+ " S101" , # Use of `assert`
16+ " S311" , # PRNG for cryptography
17+ " S104" , # binding on all interfaces
1518]
1619line-length = 120
1720select = [
18- # "B", # bandit
1921 " B007" , # Loop control variable {name} not used within loop body
2022 " B014" , # Exception handler with duplicate exception
2123 " C" , # complexity
@@ -27,6 +29,7 @@ select = [
2729 " PLC" , # pylint
2830 " PT" , # flake8-pytest-style
2931 " RUF" , # ruff builtins
32+ " S" , # bandit
3033 " SIM105" , # flake8-simplify
3134 " SIM117" , #
3235 " SIM118" , #
You can’t perform that action at this time.
0 commit comments