| 1 | [build-system] |
| 2 | requires = [ |
| 3 | "hatchling >= 1.8, < 2", |
| 4 | "hatch-requirements-txt >= 0.3, < 0.5", |
| 5 | ] |
| 6 | build-backend = "hatchling.build" |
| 7 | |
| 8 | [project] |
| 9 | name = "temptest" |
| 10 | description = "Run the regex module's test suite from a temporary directory" |
| 11 | license = {text = "Apache-2.0"} |
| 12 | requires-python = ">= 3.11" |
| 13 | dynamic = ["dependencies", "version"] |
| 14 | classifiers = [ |
| 15 | "Development Status :: 5 - Production/Stable", |
| 16 | "Intended Audience :: Developers", |
| 17 | "License :: DFSG approved", |
| 18 | "License :: Freely Distributable", |
| 19 | "License :: OSI Approved :: BSD License", |
| 20 | "Operating System :: OS Independent", |
| 21 | "Programming Language :: Python", |
| 22 | "Programming Language :: Python :: 3", |
| 23 | "Programming Language :: Python :: 3 :: Only", |
| 24 | "Programming Language :: Python :: 3.11", |
| 25 | "Programming Language :: Python :: 3.12", |
| 26 | "Programming Language :: Python :: 3.13", |
| 27 | "Topic :: Software Development :: Libraries", |
| 28 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 29 | "Typing :: Typed", |
| 30 | ] |
| 31 | |
| 32 | [[project.authors]] |
| 33 | name = "Peter Pentchev" |
| 34 | email = "[email protected]" |
| 35 | |
| 36 | [project.scripts] |
| 37 | "temptest" = "temptest.__main__:main" |
| 38 | |
| 39 | [tool.hatch.build.targets.wheel] |
| 40 | packages = ["python/temptest"] |
| 41 | |
| 42 | [tool.hatch.metadata.hooks.requirements_txt] |
| 43 | files = ["requirements/install.txt"] |
| 44 | |
| 45 | [tool.hatch.version] |
| 46 | path = "python/temptest/defs.py" |
| 47 | pattern = '(?x) ^ VERSION \s* (?: : \s* Final \s* )? = \s* " (?P<version> [^\s"]+ ) " \s* $' |
| 48 | |
| 49 | [tool.mypy] |
| 50 | strict = true |
| 51 | |
| 52 | [tool.ruff] |
| 53 | extend = "ruff-base.toml" |
| 54 | output-format = "concise" |
| 55 | preview = true |
| 56 | |
| 57 | [tool.ruff.lint] |
| 58 | select = ["ALL"] |
| 59 | |
| 60 | [tool.test-stages] |
| 61 | stages = [ |
| 62 | "@check and @quick and not @manual", |
| 63 | "@check and not @manual or @docs and not @manual", |
| 64 | "@tests and not @manual", |
| 65 | ] |