Python pyproject.toml: Difference between revisions

From wikinotes
 
Line 7: Line 7:
|}
|}
</blockquote><!-- Documentation -->
</blockquote><!-- Documentation -->
= Tutorials =
<blockquote>
{| class="wikitable"
|-
| pyproject.toml basics || https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/
|-
|}
</blockquote><!-- Tutorials -->


= Locations =
= Locations =

Revision as of 19:49, 19 February 2023

Documentation

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

Tutorials

pyproject.toml basics https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/

Locations

${PROJECT}/pyproject.toml project config

Syntax

Common Configs

pytest

# pyproject.toml
[tool.pytest.ini_options]
python_files = *.py
testpaths = ["tests/unit", "tests/integration"]
norecursedirs = tests/integration/resources