website/pyproject.toml

18 lines
584 B
TOML

[tool.black]
skip-string-normalization = true
line-length = 90
[tool.isort]
profile = "black"
force_sort_within_sections = true
line_length = 90
sections = "FUTURE,STDLIB,THIRDPARTY,LOCALFOLDER,FIRSTPARTY"
no_lines_before = "FIRSTPARTY"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = 'conservancy.settings.dev'
python_files = ['test*.py']
# pytest-django will default to running tests with DEBUG = False, regardless of
# the settings you provide it. This fails due to the
# `ManifestStaticFilesStorage` without explicitly running `collectstatic` first.
django_debug_mode = true