Skip to content

Commit

Permalink
added tox.ini with configuration for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
msztolcman committed Mar 24, 2021
1 parent 7ae85e2 commit 148a642
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tox.ini
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

0 comments on commit 148a642

Please sign in to comment.