Skip to content

Commit e3bb7c7

Browse files
committed
move conf files into setup.cfg
1 parent c9b9c43 commit e3bb7c7

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

scripts/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -e
44
pytest src/py/tests --headless --cov=idom --cov-fail-under=82
55
black --verbose --check src/py
66
flake8 src/py
7-
mypy src/py/idom --config-file=src/py/mypy.ini
8-
sphinx-build -b html src/py/docs/source src/py/docs/build
7+
mypy src/py/idom
8+
sphinx-build -W -b html src/py/docs/source src/py/docs/build

src/py/mypy.ini renamed to setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ warn_redundant_casts = True
1313
warn_unused_ignores = True
1414
warn_return_any = True
1515
no_implicit_reexport = True
16+
17+
[flake8]
18+
ignore = E203, E266, E501, W503, F811, N802
19+
max-line-length = 88
20+
max-complexity = 18
21+
select = B,C,E,F,W,T4,B9,N

src/py/.flake8

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)