pyproject.toml
This file
Path
pyproject.toml
231 lines · 5.2 KiB · TOML
Last changed by
Deprecate parameter names that are: not a Python identifier, or a Python Keyword, or not lower-cased (#3866)Rowlando13before adoption06b2a67
History of this fileTake it
The walk stopped after 200 commits: lines older than 9ce34f2 point at it.
Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 1–2why, one step back1[project]2name = "click"Deprecate parameter names that are: not a Python identifier, or a Python Keyword, or not lower-cased (#3866)Rowlando13before adoption06b2a67
line 3why, one step back3version = "8.6.0.dev"Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 4–50why, one step back4description = "Composable command line interface toolkit"5readme = "README.md"6license = "BSD-3-Clause"7license-files = ["LICENSE.txt"]8maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]9classifiers = [10 "Development Status :: 5 - Production/Stable",11 "Intended Audience :: Developers",12 "Operating System :: OS Independent",13 "Programming Language :: Python",14 "Typing :: Typed",15]16requires-python = ">=3.10"1718[project.urls]19Donate = "https://palletsprojects.com/donate"20Documentation = "https://click.palletsprojects.com/"21Changes = "https://click.palletsprojects.com/page/changes/"22Source = "https://github.com/pallets/click/"23Chat = "https://discord.gg/pallets"2425[dependency-groups]26dev = [27 "ruff",28 "tox",29 "tox-uv",30]31docs = [32 "myst-parser",33 "pallets-sphinx-themes",34 "sphinx",35 "sphinx-tabs",36 "sphinxcontrib-log-cabinet",37]38docs-auto = [39 "sphinx-autobuild",40]41gha-update = [42 "gha-update ; python_full_version >= '3.12'",43]44pre-commit = [45 "pre-commit",46 "pre-commit-uv",47]48tests = [49 "pytest",50]Randomized and parallel tests (#3151)Rowlando13before adoptiona5cb82f
lines 51–55why, one step back51tests-random = [52 "pytest",53 "pytest-randomly",54 "pytest-xdist",55]Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 56–62why, one step back56typing = [57 "mypy",58 "pyright",59 "pytest",60]6162[build-system]Require flit-core v3.11+ to ensure license metadata in the distribution (#3070)Rowlando13before adoption1827707
line 63why, one step back63requires = ["flit_core>=3.11,<4"]Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 64–72why, one step back64build-backend = "flit_core.buildapi"6566[tool.flit.module]67name = "click"6869[tool.flit.sdist]70include = [71 "docs/",72 "tests/",Fix `sdist` include to ship `CHANGES.md` after changelog rename (#3685)Kevin Deldyckebefore adoption42235de
line 73why, one step back73 "CHANGES.md",Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 74–87why, one step back74 "uv.lock"75]76exclude = [77 "docs/_build/",78]7980[tool.uv]81default-groups = ["dev", "pre-commit", "tests", "typing"]8283[tool.pytest.ini_options]84testpaths = ["tests"]85filterwarnings = [86 "error",87]`NamedTextIOWrapper`: stop closing buffer (#3139)Rowlando13before adoptionae46cfd
lines 88–91why, one step back88markers = [89 "stress: high-iteration stress tests for race conditions (deselect with '-m \"not stress\"')",90]91addopts = "-m 'not stress'"Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 92–133why, one step back9293[tool.coverage.run]94branch = true95source = ["click", "tests"]9697[tool.coverage.paths]98source = ["src", "*/site-packages"]99100[tool.coverage.report]101exclude_also = [102 "if t.TYPE_CHECKING",103 "raise NotImplementedError",104 ": \\.{3}",105]106107[tool.mypy]108python_version = "3.10"109files = ["src", "tests/typing"]110show_error_codes = true111pretty = true112strict = true113114[tool.pyright]115pythonVersion = "3.10"116include = ["src", "tests/typing"]117typeCheckingMode = "basic"118119[tool.ruff]120extend-exclude = ["examples/"]121src = ["src"]122fix = true123show-fixes = true124output-format = "full"125126[tool.ruff.lint]127select = [128 "B", # flake8-bugbear129 "E", # pycodestyle error130 "F", # pyflakes131 "I", # isort132 "UP", # pyupgrade133 "W", # pycodestyle warningMerge branch 'stable'David Lordbefore adoptionbc36cd1
line 134why, one step back134 "ICN", #flake8-import-conventions (ICN)Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
line 135why, one step back135]Merge branch 'stable'David Lordbefore adoptionbc36cd1
lines 136–139why, one step back136137[tool.ruff.lint.flake8-import-conventions.aliases]138# Declare the default aliases.139typing = "t"Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 140–146why, one step back140141[tool.ruff.lint.isort]142force-single-line = true143order-by-type = false144145[tool.tox]146env_list = [Add python 3.14 to test suite. (#3116)Rowlando13before adoption46c9b0b
line 147why, one step back147 "py3.14", "py3.13", "py3.12", "py3.11", "py3.10",Add latest free threaded python to tox and ci. (#3119)Rowlando13before adoption6707116
line 148why, one step back148 "py3.14t",Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
line 149why, one step back149 "pypy3.11",`NamedTextIOWrapper`: stop closing buffer (#3139)Rowlando13before adoptionae46cfd
line 150why, one step back150 "stress-py3.14", "stress-py3.14t",Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 151–165why, one step back151 "style",152 "typing",153 "docs",154]155156[tool.tox.env_run_base]157description = "pytest on latest dependency versions"158runner = "uv-venv-lock-runner"159package = "wheel"160wheel_build_env = ".pkg"161constrain_package_deps = true162use_frozen_constraints = true163dependency_groups = ["tests"]164commands = [[165 "pytest", "-v", "--tb=short", "--basetemp={env_tmp_dir}",Randomized and parallel tests (#3151)Rowlando13before adoptiona5cb82f
lines 166–174why, one step back166 {replace = "posargs", default = [], extend = true},167]]168169[tool.tox.env.random]170description = "randomized parallel tests to detect test pollution and race conditions"171dependency_groups = ["tests-random"]172commands = [[173 "pytest", "-v", "--tb=short", "--numprocesses=auto",174 "--basetemp={env_tmp_dir}",`NamedTextIOWrapper`: stop closing buffer (#3139)Rowlando13before adoptionae46cfd
lines 175–178why, one step back175 {replace = "posargs", default = [], extend = true},176]]177178[tool.tox.env.stress]Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3
line 179why, one step back179description = "high-iteration stress tests for race conditions"`NamedTextIOWrapper`: stop closing buffer (#3139)Rowlando13before adoptionae46cfd
lines 180–183why, one step back180commands = [[181 "pytest", "-v", "--tb=short", "-x", "-m", "stress",182 "--basetemp={env_tmp_dir}",183 "--override-ini=addopts=",Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 184–197why, one step back184 {replace = "posargs", default = [], extend = true},185]]186187[tool.tox.env.style]188description = "run all pre-commit hooks on all files"189dependency_groups = ["pre-commit"]190skip_install = true191commands = [["pre-commit", "run", "--all-files"]]192193[tool.tox.env.typing]194description = "run static type checkers"195dependency_groups = ["typing"]196commands = [197 ["mypy"],Make `uv run --all-extras pyright --verifytypes click` pass (#3072)Rowlando13before adoptione27b307
line 198why, one step back198 ["pyright", "--ignoreexternal", "--verifytypes", "click"],Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 199–231why, one step back199]200201[tool.tox.env.docs]202description = "build docs"203dependency_groups = ["docs"]204commands = [["sphinx-build", "-E", "-W", "-b", "dirhtml", "docs", "docs/_build/dirhtml"]]205206[tool.tox.env.docs-auto]207description = "continuously rebuild docs and start a local server"208dependency_groups = ["docs", "docs-auto"]209commands = [["sphinx-autobuild", "-W", "-b", "dirhtml", "--watch", "src", "docs", "docs/_build/dirhtml"]]210211[tool.tox.env.update-actions]212description = "update GitHub Actions pins"213labels = ["update"]214dependency_groups = ["gha-update"]215skip_install = true216commands = [["gha-update"]]217218[tool.tox.env.update-pre_commit]219description = "update pre-commit pins"220labels = ["update"]221dependency_groups = ["pre-commit"]222skip_install = true223commands = [["pre-commit", "autoupdate", "--freeze", "-j4"]]224225[tool.tox.env.update-requirements]226description = "update uv lock"227labels = ["update"]228dependency_groups = []229no_default_groups = true230skip_install = true231commands = [["uv", "lock", {replace = "posargs", default = ["-U"], extend = true}]]