|
@@ -28,3 +28,22 @@ lint_disable=fixme,locally-disabled,file-ignored,duplicate-code
|
|
exclude=.tox/*,utils/*,inventory/*
|
|
exclude=.tox/*,utils/*,inventory/*
|
|
max_line_length = 120
|
|
max_line_length = 120
|
|
ignore = E501,T003
|
|
ignore = E501,T003
|
|
|
|
+
|
|
|
|
+[tool:pytest]
|
|
|
|
+norecursedirs =
|
|
|
|
+ .*
|
|
|
|
+ __pycache__
|
|
|
|
+ cover
|
|
|
|
+ docs
|
|
|
|
+ # utils have its own config
|
|
|
|
+ utils
|
|
|
|
+python_files =
|
|
|
|
+ # TODO(rhcarvalho): rename test files to follow a single pattern. "test*.py"
|
|
|
|
+ # is Python unittest's default, while pytest discovers both "test_*.py" and
|
|
|
|
+ # "*_test.py" by default.
|
|
|
|
+ test_*.py
|
|
|
|
+ *_tests.py
|
|
|
|
+addopts =
|
|
|
|
+ --cov=.
|
|
|
|
+ --cov-report=term
|
|
|
|
+ --cov-report=html
|