Skip to content
Myr

pyproject.toml

This file

Path

examples/tutorial/pyproject.toml

39 lines · 729 bytes · TOML

Last changed by

use ruff linter and formatterDavid Lordbefore adoption54e05a2

History of this file

Take it

Merge pull request #4947 from pallets/pyprojectDavid Lordbefore adoption78b42b9

lines 1–18why, one step back
1[project]
2name = "flaskr"3version = "1.0.0"4description = "The basic blog app built in the Flask tutorial."5readme = "README.rst"6license = {text = "BSD-3-Clause"}7maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]8dependencies = [9 "flask",10]1112[project.urls]13Documentation = "https://flask.palletsprojects.com/tutorial/"1415[project.optional-dependencies]16test = ["pytest"]1718[build-system]

Merge branch '2.3.x'David Lordbefore adoption15a0d4a

lines 19–28why, one step back
19requires = ["flit_core<4"]
20build-backend = "flit_core.buildapi"2122[tool.flit.module]23name = "flaskr"2425[tool.flit.sdist]26include = [27 "tests/",28]

Merge pull request #4947 from pallets/pyprojectDavid Lordbefore adoption78b42b9

lines 29–36why, one step back
29
30[tool.pytest.ini_options]31testpaths = ["tests"]32filterwarnings = ["error"]3334[tool.coverage.run]35branch = true36source = ["flaskr", "tests"]

use ruff linter and formatterDavid Lordbefore adoption54e05a2

lines 37–39why, one step back
37
38[tool.ruff]39src = ["src"]