devfund-website/setup.cfg

35 lines
1.1 KiB
INI

[tool:pytest]
addopts = -v --cov looper --cov blender_fund_main --cov-report term-missing --no-cov-on-fail
--ignore node_modules --ignore .git --ignore .cache --ignore build
--reuse-db
DJANGO_SETTINGS_MODULE = blender_fund.settings
python_files = tests.py test_*.py *_tests.py
# Don't capture logging; it's already sent to stdout/stderr and captured there.
log_level = 100
[pep8]
max-line-length = 100
[flake8]
ignore=
D105, # Missing docstring in magic method
D203, # 1 blank line required before class docstring
D213, # We adhere to D212 instead
D4, # All section formatting, which seems to be impossible to comply
W503, # We adhere to W504 instead: line break should be before binary operator
D106, # No docstring in public nested class (e.g. Meta)
max-line-length = 100
# Enabled extra docstyle checks
docstring-convention=all
add-select =
D212, # Multi-line docstring summary should start at the first line
[mypy]
# Should match what's declared in Pipfile
python_version = 3.6
warn_redundant_casts = True
ignore_missing_imports = True
incremental = True