|
2 | 2 | requires = ["setuptools >= 45.0.0", "setuptools_scm[toml] >= 7.0.0"] |
3 | 3 | build-backend = "setuptools.build_meta" |
4 | 4 |
|
| 5 | +[project] |
| 6 | +# https://peps.python.org/pep-0621/#readme |
| 7 | +requires-python = ">=3.6" |
| 8 | +dynamic = ["version"] |
| 9 | +name = "ansi2html" |
| 10 | +description = "Checks playbooks for practices and behavior that could potentially be improved" |
| 11 | +readme = "README.rst" |
| 12 | +authors = [{ "name" = "Ralph Bean", "email" = "rbean@redhat.com" }] |
| 13 | +maintainers = [{ "name" = "Ralph Bean", "email" = "rbean@redhat.com" }] |
| 14 | +license = { text = "LGPLv3+" } |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 5 - Production/Stable", |
| 17 | + "Environment :: Console", |
| 18 | + "Intended Audience :: Developers", |
| 19 | + "Intended Audience :: System Administrators", |
| 20 | + "License :: OSI Approved :: MIT License", |
| 21 | + "Operating System :: MacOS", |
| 22 | + "Operating System :: POSIX", |
| 23 | + "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", |
| 24 | + "Programming Language :: Python :: 3", |
| 25 | + "Programming Language :: Python :: 3.6", |
| 26 | + "Programming Language :: Python :: 3.7", |
| 27 | + "Programming Language :: Python :: 3.8", |
| 28 | + "Programming Language :: Python :: 3.9", |
| 29 | + "Programming Language :: Python :: 3.10", |
| 30 | + "Programming Language :: Python :: 3.11", |
| 31 | + "Programming Language :: Python :: 3 :: Only", |
| 32 | + "Programming Language :: Python", |
| 33 | + "Topic :: Software Development :: Quality Assurance", |
| 34 | + "Topic :: Software Development :: Testing", |
| 35 | + "Topic :: System :: Systems Administration", |
| 36 | + "Topic :: Text Processing :: Markup :: HTML", |
| 37 | + "Topic :: Text Processing :: Markup", |
| 38 | + "Topic :: Text Processing", |
| 39 | + "Topic :: Utilities", |
| 40 | +] |
| 41 | +keywords = ["ansi", "html", "color"] |
| 42 | +dependencies = ['importlib-metadata; python_version<"3.8"'] |
| 43 | + |
| 44 | +[project.urls] |
| 45 | +homepage = "https://github.com/pycontribs/ansi2html" |
| 46 | +documentation = "https://ansi2html.readthedocs.io/" |
| 47 | +repository = "https://github.com/pycontribs/ansi2html" |
| 48 | +changelog = "https://github.com/pycontribs/ansi2html/releases" |
| 49 | + |
| 50 | +[project.scripts] |
| 51 | +ansi2html = "ansi2html.__main__:main" |
| 52 | + |
| 53 | +[project.optional-dependencies] |
| 54 | +docs = ["sphinx", "sphinx_rtd_theme"] |
| 55 | +test = ["pytest", "pytest-cov"] |
| 56 | + |
5 | 57 | [tool.isort] |
6 | 58 | profile = "black" |
7 | 59 |
|
8 | 60 | [tool.mypy] |
9 | 61 | warn_return_any = true |
10 | 62 | warn_unused_configs = true |
11 | 63 |
|
| 64 | +[[tool.mypy.overrides]] |
| 65 | +module = ["ansi2html._version"] |
| 66 | +ignore_missing_imports = true |
| 67 | +ignore_errors = true |
| 68 | + |
12 | 69 | [tool.pylint."MESSAGES CONTROL"] |
13 | 70 | disable = [ |
14 | 71 | # TODO(ssbarnea): remove temporary skips adding during initial adoption: |
@@ -41,3 +98,4 @@ output-format = "colorized" |
41 | 98 |
|
42 | 99 | [tool.setuptools_scm] |
43 | 100 | local_scheme = "no-local-version" |
| 101 | +write_to = "src/ansi2html/_version.py" |
0 commit comments