|
1 | 1 | [build-system] |
2 | | -requires = ["flit_core >=2,<3"] |
| 2 | +requires = ["flit_core >=2,<4"] |
3 | 3 | build-backend = "flit_core.buildapi" |
4 | 4 |
|
5 | | -[tool.flit.metadata] |
6 | | -module = "codetiming" |
7 | | -author = "Real Python" |
8 | | -author-email = "info@realpython.com" |
9 | | -home-page = "https://realpython.com/python-timer" |
10 | | -description-file = "README.md" |
11 | | -classifiers = [ |
12 | | - "Development Status :: 5 - Production/Stable", |
13 | | - "Intended Audience :: Developers", |
14 | | - "License :: OSI Approved :: MIT License", |
15 | | - "Natural Language :: English", |
16 | | - "Operating System :: MacOS", |
17 | | - "Operating System :: Microsoft", |
18 | | - "Operating System :: POSIX :: Linux", |
19 | | - "Programming Language :: Python :: 3.6", |
20 | | - "Programming Language :: Python :: 3.7", |
21 | | - "Programming Language :: Python :: 3.8", |
22 | | - "Programming Language :: Python :: 3.9", |
23 | | - "Topic :: Education", |
24 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
25 | | - "Topic :: System :: Monitoring", |
26 | | - "Typing :: Typed", |
27 | | -] |
28 | | -keywords = "timer class contextmanager decorator" |
29 | | - |
30 | | -# Requirements |
31 | | -requires-python = ">=3.6" |
32 | | -requires = [ |
33 | | - "dataclasses; python_version < '3.7'", |
34 | | -] |
35 | | - |
36 | | - |
37 | | -[tool.flit.metadata.urls] |
38 | | -"Source Code" = "https://github.com/realpython/codetiming" |
39 | | -"Tutorial" = "https://realpython.com/python-timer" |
40 | | - |
41 | | -[tool.flit.metadata.requires-extra] |
42 | | -dev = ["black", "bump2version", "flake8", "flit", "isort", "mypy"] |
43 | | -test = ["pytest", "pytest-cov", "tox"] |
| 5 | + |
| 6 | +[tool.flit] |
| 7 | + |
| 8 | + [tool.flit.metadata] |
| 9 | + module = "codetiming" |
| 10 | + author = "Real Python" |
| 11 | + author-email = "info@realpython.com" |
| 12 | + home-page = "https://realpython.com/python-timer" |
| 13 | + description-file = "README.md" |
| 14 | + classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Intended Audience :: Developers", |
| 17 | + "License :: OSI Approved :: MIT License", |
| 18 | + "Natural Language :: English", |
| 19 | + "Operating System :: MacOS", |
| 20 | + "Operating System :: Microsoft", |
| 21 | + "Operating System :: POSIX :: Linux", |
| 22 | + "Programming Language :: Python :: 3.6", |
| 23 | + "Programming Language :: Python :: 3.7", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Topic :: Education", |
| 27 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 28 | + "Topic :: System :: Monitoring", |
| 29 | + "Typing :: Typed", |
| 30 | + ] |
| 31 | + keywords = "timer class contextmanager decorator" |
| 32 | + |
| 33 | + # Requirements |
| 34 | + requires-python = ">=3.6" |
| 35 | + requires = [ |
| 36 | + "dataclasses; python_version < '3.7'", |
| 37 | + ] |
| 38 | + |
| 39 | + |
| 40 | + [tool.flit.metadata.urls] |
| 41 | + "Source Code" = "https://github.com/realpython/codetiming" |
| 42 | + "Tutorial" = "https://realpython.com/python-timer" |
| 43 | + |
| 44 | + [tool.flit.metadata.requires-extra] |
| 45 | + dev = ["black", "bump2version", "flake8", "flit", "interrogate", "isort", "mypy"] |
| 46 | + test = ["black", "interrogate", "pytest", "pytest-cov", "tox"] |
| 47 | + |
| 48 | + |
| 49 | +[tool.interrogate] |
| 50 | +ignore-init-method = false |
| 51 | +ignore-init-module = false |
| 52 | +ignore-magic = false |
| 53 | +ignore-semiprivate = false |
| 54 | +ignore-private = false |
| 55 | +ignore-module = false |
| 56 | +fail-under = 100 |
| 57 | +verbose = 0 |
| 58 | + |
44 | 59 |
|
45 | 60 | [tool.isort] |
46 | 61 | multi_line_output = 3 |
|
0 commit comments