vdirsyncer/setup.cfg
Hugo Osvaldo Barrera 47caebe843 Simplify coverage handling
- Always install coverage tools.
- Show coverage if all tests pass.
- Less conditional code.
2020-06-09 14:57:58 +02:00

22 lines
592 B
INI

[wheel]
universal = 1
[tool:pytest]
norecursedirs = tests/storage/servers/*
addopts =
--tb=short
--cov-config .coveragerc
--cov=vdirsyncer
--cov-report=term-missing
--no-cov-on-fail
[flake8]
# E731: Use a def instead of lambda expr
# E743: Ambiguous function definition
ignore = E731, E743
# E503: Line break occurred before a binary operator
extend-ignore = E203, W503
max-line-length = 88
select = C,E,F,W,B,B9
exclude = .eggs, tests/storage/servers/owncloud/, tests/storage/servers/nextcloud/, tests/storage/servers/baikal/, build/
application-package-names = tests,vdirsyncer