Python setup.cfg

From wikinotes
Revision as of 15:07, 13 February 2021 by Will (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Consolidates some python project dotfiles.
Mostly superceeded by python pyproject.toml.

Documentation

PEP-518 https://www.python.org/dev/peps/pep-0518/

Locations

${PROJECT}/setup.cfg PEP-390

Syntax


Common Configs

pytest

[tool:pytest]
python_files = *.py
testpaths = tests

norecursedirs = tests/integration/resources