Skip to content
Myr

pyproject.toml

This file

Path

pyproject.toml

102 lines · 2.0 KiB · TOML

Last changed by

Merge branch '8.1.x'David Lordbefore adoption99015e1

History of this file

Take it

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 1–2why, one step back
1[project]
2name = "click"

deprecate `__version__` attribute (#2599)David Lordbefore adoptionb63ace2

line 3why, one step back
3version = "8.2.0.dev"

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

line 4why, one step back
4description = "Composable command line interface toolkit"

Merge branch '8.1.x'David Lordbefore adoption73cfe12

lines 5–6why, one step back
5readme = "README.md"
6license = {file = "LICENSE.txt"}

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 7–13why, one step back
7maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]
8classifiers = [9 "Development Status :: 5 - Production/Stable",10 "Intended Audience :: Developers",11 "License :: OSI Approved :: BSD License",12 "Operating System :: OS Independent",13 "Programming Language :: Python",

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 14why, one step back
14 "Typing :: Typed",

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

line 15why, one step back
15]

drop support for python 3.7 (#2588)David Lordbefore adoptionf5e47a6

line 16why, one step back
16requires-python = ">=3.8"

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 17–24why, one step back
17dependencies = [
18 "colorama; platform_system == 'Windows'",19]2021[project.urls]22Donate = "https://palletsprojects.com/donate"23Documentation = "https://click.palletsprojects.com/"24Changes = "https://click.palletsprojects.com/changes/"

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 25why, one step back
25Source = "https://github.com/pallets/click/"

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 26–28why, one step back
26Chat = "https://discord.gg/pallets"
2728[build-system]

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

lines 29–30why, one step back
29requires = ["flit_core<4"]
30build-backend = "flit_core.buildapi"

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

line 31why, one step back
31

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

lines 32–45why, one step back
32[tool.flit.module]
33name = "click"3435[tool.flit.sdist]36include = [37 "docs/",38 "requirements/",39 "tests/",40 "CHANGES.rst",41 "tox.ini",42]43exclude = [44 "docs/_build/",45]

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 46–48why, one step back
46
47[tool.pytest.ini_options]48testpaths = ["tests"]

Merge branch '8.1.x'David Lordbefore adoption73cfe12

lines 49–51why, one step back
49filterwarnings = [
50 "error",51]

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 52–60why, one step back
52
53[tool.coverage.run]54branch = true55source = ["click", "tests"]5657[tool.coverage.paths]58source = ["src", "*/site-packages"]5960[tool.mypy]

drop support for python 3.7 (#2588)David Lordbefore adoptionf5e47a6

line 61why, one step back
61python_version = "3.8"

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 62why, one step back
62files = ["src/click", "tests/typing"]

switch to pyproject.toml (#2438)David Lordbefore adoption347529d

lines 63–71why, one step back
63show_error_codes = true
64pretty = true65strict = true6667[[tool.mypy.overrides]]68module = [69 "colorama.*",70]71ignore_missing_imports = true

use ruff lint and format (#2658)David Lordbefore adoption1a3baf7

line 72why, one step back
72

Merge branch '8.1.x'David Lordbefore adoption73cfe12

lines 73–77why, one step back
73[tool.pyright]
74pythonVersion = "3.8"75include = ["src/click", "tests/typing"]76typeCheckingMode = "basic"77

use ruff lint and format (#2658)David Lordbefore adoption1a3baf7

lines 78–82why, one step back
78[tool.ruff]
79extend-exclude = ["examples/"]80src = ["src"]81fix = true82show-fixes = true

update dev dependenciesDavid Lordbefore adoption15959d9

line 83why, one step back
83output-format = "full"

use ruff lint and format (#2658)David Lordbefore adoption1a3baf7

lines 84–97why, one step back
84
85[tool.ruff.lint]86select = [87 "B", # flake8-bugbear88 "E", # pycodestyle error89 "F", # pyflakes90 "I", # isort91 "UP", # pyupgrade92 "W", # pycodestyle warning93]9495[tool.ruff.lint.isort]96force-single-line = true97order-by-type = false

Merge branch '8.1.x'David Lordbefore adoption99015e1

lines 98–102why, one step back
98
99[tool.gha-update]100tag-only = [101 "slsa-framework/slsa-github-generator",102]