File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11[flake8]
2- max-line-length = 89
2+ max-line-length = 100
33exclude = _version.py
44# F403: unable to detect undefined names
55# F405: may be defined from * imports
Original file line number Diff line number Diff line change 22 autofix_prs : false
33 autoupdate_schedule : monthly
44
5- exclude : ' ^docs/exts/ '
5+ exclude : ' (?i)(^src/tests/cextern/|^drizzle/tests/data/|\.(?:c|h)$) '
66
77repos :
88 # basic checks
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ exclude = [
8383 " .tox" ,
8484 " .eggs" ,
8585 " build" ,
86+ " docs/exts" ,
8687]
8788
8889lint.ignore = [
@@ -156,11 +157,6 @@ lint.ignore = [
156157"docs/*.py" = [
157158 " INP001" , # implicit-namespace-package. The examples are not a package.
158159]
159- "examples/*.py" = [
160- " E402" , # Imports are done as needed.
161- " INP001" , # implicit-namespace-package. The examples are not a package.
162- " T203" # pprint found
163- ]
164160
165161[tool .ruff .lint .flake8-annotations ]
166162ignore-fully-untyped = true
Original file line number Diff line number Diff line change @@ -51,14 +51,16 @@ commands =
5151skip_install = true
5252changedir = {toxinidir}
5353description = check code style with flake8
54- deps = flake8
55- commands = flake8 stsci --count
54+ deps =
55+ ruff
56+ commands =
57+ ruff check . {posargs}
5658
5759[testenv:bandit]
5860skip_install = true
5961changedir = {toxinidir}
6062description = Security audit with bandit
61- deps = bandit
63+ deps = bandit>=1.7
6264commands =
6365 pip freeze
6466 bandit stsci -r -x stsci/imagestats/tests
You can’t perform that action at this time.
0 commit comments