2021-06-26 18:26:39 +03:00
|
|
|
[flake8]
|
|
|
|
exclude = .git,__pycache__,dist,build,debian,*.egg,*.egg-info,*.venv,*.archive
|
|
|
|
max-line-length=100
|
|
|
|
filename = *.py
|
|
|
|
max-complexity = 10
|
|
|
|
|
|
|
|
[mypy]
|
|
|
|
files = src/**/*.py
|
2021-06-29 23:17:03 +03:00
|
|
|
ignore_missing_imports = True
|
2021-06-26 18:26:39 +03:00
|
|
|
|
|
|
|
[tool:pytest]
|
|
|
|
markers =
|
|
|
|
unit: Marks a unit test
|
|
|
|
cli: Marks a CLI test
|
|
|
|
smoke: An essential test indicating the health of the system
|
|
|
|
ctx: Marks a context test
|
|
|
|
util: Marks an util test
|
|
|
|
browser: Marks a browser test
|
|
|
|
firefox: Marks a firefox-specific test
|
|
|
|
slow: Marks a slow test. Only executes if --run-slow is passed
|
|
|
|
quilla: Marks tests written to be executed with Quilla
|
|
|
|
integration: Marks an integration test.
|
|
|
|
testpaths = tests
|
2021-07-15 21:54:05 +03:00
|
|
|
addopts = --cov=src --cov-report term-missing -p no:quilla -n auto --quilla-opts="--image-directory ./images"
|
2021-06-26 18:26:39 +03:00
|
|
|
python_classes = *Tests
|