devfund-website/setup.cfg

41 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=
# Missing docstring in magic method
D105,
# 1 blank line required before class docstring
D203,
# We adhere to D212 instead
D213,
# All section formatting, which seems to be impossible to comply
D4,
# We adhere to W504 instead: line break should be before binary operator
W503,
# No docstring in public nested class (e.g. Meta)
D106,
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