-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added tox.ini with configuration for flake8
- Loading branch information
1 parent
7ae85e2
commit 148a642
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[tox] | ||
envlist = py37,py38,py39,py310 | ||
; changedir=test | ||
|
||
[flake8] | ||
max-line-length = 140 | ||
extend-ignore = | ||
# E128 continuation line under-indented for visual indent | ||
E128, | ||
# E124 closing bracket does not match visual indentation | ||
E124, | ||
# ANN002 Missing type annotation for *args | ||
ANN002, | ||
# ANN003 Missing type annotation for **kwargs | ||
ANN003, | ||
# ANN101 Missing type annotation for self in method | ||
ANN101, | ||
# ANN102 Missing type annotation for cls in classmethod | ||
ANN102 | ||
extend-exclude = .venv | ||
|
||
[testenv] | ||
commands = pytest | ||
|
||
[pytest] | ||
testpaths = tests |