pyproject.toml
This file
Path
pyproject.toml
95 lines · 2.9 KiB · TOML
Last changed by
✨ Make `typer.run()` not add completion scripts by default, it only makes sense in installed apps (#488)Sebastián Ramírezbefore adoption36e4080
History of this fileTake it
The walk stopped after 200 commits: lines older than 372efa9 point at it.
:memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
lines 1–26why, one step back1[build-system]2requires = ["flit_core >=2,<3"]3build-backend = "flit_core.buildapi"45[tool.flit.metadata]6module = "typer"7author = "Sebastián Ramírez"8author-email = "tiangolo@gmail.com"9home-page = "https://github.com/tiangolo/typer"10classifiers = [11 "Intended Audience :: Information Technology",12 "Intended Audience :: System Administrators",13 "Operating System :: OS Independent",14 "Programming Language :: Python :: 3",15 "Programming Language :: Python",16 "Topic :: Software Development :: Libraries :: Application Frameworks",17 "Topic :: Software Development :: Libraries :: Python Modules",18 "Topic :: Software Development :: Libraries",19 "Topic :: Software Development",20 "Typing :: Typed",21 "Development Status :: 4 - Beta",22 "Intended Audience :: Developers",23 "Programming Language :: Python :: 3 :: Only",24 "Programming Language :: Python :: 3.6",25 "Programming Language :: Python :: 3.7",26 "Programming Language :: Python :: 3.8",✨ Add support for Python 3.11, tests in CI and official marker (#487)Sebastián Ramírezbefore adoptiona6f28a7
lines 27–29why, one step back27 "Programming Language :: Python :: 3.9",28 "Programming Language :: Python :: 3.10",29 "Programming Language :: Python :: 3.11",:memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
lines 30–32why, one step back30 "License :: OSI Approved :: MIT License"31 ]32requires = [✨ Add support for Click 8 while keeping compatibility with Click 7 (#317)Sebastián Ramírezbefore adoptionb972981
line 33why, one step back33 "click >= 7.1.1, <9.0.0":memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
lines 34–42why, one step back34]35description-file = "README.md"36requires-python = ">=3.6"3738[tool.flit.metadata.urls]39Documentation = "https://typer.tiangolo.com/"4041[tool.flit.metadata.requires-extra]42test = [📌 Pin dependencies (#138)Sebastián Ramírezbefore adoption9e9e47b
line 43why, one step back43 "shellingham >=1.3.0,<2.0.0",➕ Bring back pytest-cov because coverage can't detect pytest-xdist (#484)Sebastián Ramírezbefore adoptionf9ef711
lines 44–47why, one step back44 "pytest >=4.4.0,<8.0.0",45 "pytest-cov >=2.10.0,<5.0.0",46 "coverage >=6.2,<7.0",47 "pytest-xdist >=1.32.0,<4.0.0",📌 Pin dependencies (#138)Sebastián Ramírezbefore adoption9e9e47b
line 48why, one step back48 "pytest-sugar >=0.9.4,<0.10.0",✨ Add support for Click 8 while keeping compatibility with Click 7 (#317)Sebastián Ramírezbefore adoptionb972981
line 49why, one step back49 "mypy ==0.910",🐛 Fix import of `get_terminal_size` for click 8.1.0 support and upgrade Black for CI (#380)Sebastián Ramírezbefore adoption9910f38
line 50why, one step back50 "black >=22.3.0,<23.0.0",✨ Add pretty error tracebacks for user errors and support for Rich (#412)Sebastián Ramírezbefore adoption252ed30
lines 51–52why, one step back51 "isort >=5.0.6,<6.0.0",52 "rich >=10.11.0,<13.0.0",:memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
lines 53–54why, one step back53]54doc = [📌 Pin dependencies (#138)Sebastián Ramírezbefore adoption9e9e47b
line 55why, one step back55 "mkdocs >=1.1.2,<2.0.0",⬆️ Upgrade MkDocs Material, MDX-Include, and MkDocs structure (#356)Sebastián Ramírezbefore adoptionb01f3bb
lines 56–57why, one step back56 "mkdocs-material >=8.1.4,<9.0.0",57 "mdx-include >=1.4.1,<2.0.0",➕ Add extra Material for MkDocs deps for docs (#482)Sebastián Ramírezbefore adoption163bc45
lines 58–59why, one step back58 "pillow >=9.3.0,<10.0.0",59 "cairosvg >=2.5.2,<3.0.0",:memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
lines 60–61why, one step back60]61dev = [📌 Pin dependencies (#138)Sebastián Ramírezbefore adoption9e9e47b
lines 62–63why, one step back62 "autoflake >=1.3.1,<2.0.0",63 "flake8 >=3.8.3,<4.0.0",🔧 Add pre-commit config and formatting (#392)Sebastián Ramírezbefore adoptiona1ee411
line 64why, one step back64 "pre-commit >=2.17.0,<3.0.0",:memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
lines 65–66why, one step back65]66all = [📌 Pin dependencies (#138)Sebastián Ramírezbefore adoption9e9e47b
line 67why, one step back67 "colorama >=0.4.3,<0.5.0",✨ Add pretty error tracebacks for user errors and support for Rich (#412)Sebastián Ramírezbefore adoption252ed30
lines 68–69why, one step back68 "shellingham >=1.3.0,<2.0.0",69 "rich >=10.11.0,<13.0.0",:memo: Add emphasis note about using typer.echo instead of print (#89)Sebastián Ramírezbefore adoption372efa9
line 70why, one step back70]⬆ Upgrade Isort to version 5.x.x (#137)Sebastián Ramírezbefore adoption89ddc35
lines 71–79why, one step back7172[tool.isort]73profile = "black"74known_third_party = ["typer", "click"]75skip_glob = [76 "docs_src/subcommands/tutorial001/main.py",77 "docs_src/subcommands/tutorial003/lands.py",78 "docs_src/subcommands/tutorial003/main.py",79 ]✨ Make `typer.run()` not add completion scripts by default, it only makes sense in installed apps (#488)Sebastián Ramírezbefore adoption36e4080
lines 80–95why, one step back8081[tool.pytest.ini_options]82addopts = [83 "--strict-config",84 "--strict-markers",85]86xfail_strict = true87junit_family = "xunit2"88filterwarnings = [89 "error",90 # TODO: until I refactor completion to use the new shell_complete91 "ignore:'autocompletion' is renamed to 'shell_complete'. The old name is deprecated and will be removed in Click 8.1. See the docs about 'Parameter' for information about new behavior.:DeprecationWarning:typer",92 'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',93 # For pytest-xdist94 'ignore::DeprecationWarning:xdist',95]