mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
reorder-python-imports is hard to set up correctly. isort is a lot simpler to set to set up it locally, and is kinda becoming the standard in the python world. The import style remains the same, and is tweaked to minimise conflicts.
26 lines
483 B
INI
26 lines
483 B
INI
[wheel]
|
|
universal = 1
|
|
|
|
[tool:pytest]
|
|
addopts =
|
|
--tb=short
|
|
--cov-config .coveragerc
|
|
--cov=vdirsyncer
|
|
--cov-report=term-missing:skip-covered
|
|
--no-cov-on-fail
|
|
--color=yes
|
|
# filterwarnings=error
|
|
|
|
[flake8]
|
|
application-import-names = tests,vdirsyncer
|
|
extend-ignore =
|
|
E203, # Black-incompatible colon spacing.
|
|
W503, # Line jump before binary operator.
|
|
I100,
|
|
I202
|
|
max-line-length = 88
|
|
exclude = .eggs,build
|
|
import-order-style = smarkets
|
|
|
|
[isort]
|
|
force_single_line=true
|