| 1 |
[build-system] |
| 2 |
requires = ["flit_core >=3.2,<4"] |
| 3 |
build-backend = "flit_core.buildapi" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "codetiming" |
| 7 |
authors = [ |
| 8 |
{ name = "Geir Arne Hjelle", email = "[email protected]" }, |
| 9 |
{ name = "Real Python", email = "[email protected]" }, |
| 10 |
] |
| 11 |
readme = "README.md" |
| 12 |
dynamic = ["version", "description"] |
| 13 |
classifiers = [ |
| 14 |
"Development Status :: 5 - Production/Stable", |
| 15 |
"Intended Audience :: Developers", |
| 16 |
"License :: OSI Approved :: MIT License", |
| 17 |
"Natural Language :: English", |
| 18 |
"Operating System :: MacOS", |
| 19 |
"Operating System :: Microsoft", |
| 20 |
"Operating System :: POSIX :: Linux", |
| 21 |
"Programming Language :: Python :: 3.6", |
| 22 |
"Programming Language :: Python :: 3.7", |
| 23 |
"Programming Language :: Python :: 3.8", |
| 24 |
"Programming Language :: Python :: 3.9", |
| 25 |
"Programming Language :: Python :: 3.10", |
| 26 |
"Programming Language :: Python :: 3.11", |
| 27 |
"Topic :: Education", |
| 28 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 29 |
"Topic :: System :: Monitoring", |
| 30 |
"Typing :: Typed", |
| 31 |
] |
| 32 |
keywords = ["timer", "class", "contextmanager", "decorator"] |
| 33 |
requires-python = ">=3.6" |
| 34 |
dependencies = ["dataclasses; python_version < '3.7'"] |
| 35 |
|
| 36 |
[project.urls] |
| 37 |
Homepage = "https://realpython.com/python-timer" |
| 38 |
"Source Code" = "https://github.com/realpython/codetiming" |
| 39 |
Tutorial = "https://realpython.com/python-timer" |
| 40 |
|
| 41 |
[project.optional-dependencies] |
| 42 |
dev = ["black", "bump2version", "flake8", "flit", "interrogate", "isort", "mypy"] |
| 43 |
test = ["black", "interrogate", "pytest", "pytest-cov", "tox"] |
| 44 |
|
| 45 |
|
| 46 |
[tool.interrogate] |
| 47 |
ignore-init-method = false |
| 48 |
ignore-init-module = false |
| 49 |
ignore-magic = false |
| 50 |
ignore-semiprivate = false |
| 51 |
ignore-private = false |
| 52 |
ignore-module = false |
| 53 |
fail-under = 100 |
| 54 |
verbose = 0 |
| 55 |
|
| 56 |
|
| 57 |
[tool.isort] |
| 58 |
profile = "black" |
| 59 |
import_heading_stdlib = "Standard library imports" |
| 60 |
import_heading_thirdparty = "Third party imports" |
| 61 |
import_heading_firstparty = "Codetiming imports" |