|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools >= 61.0"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "pronto" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Python frontend to ontologies." |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.7" |
| 11 | +license = { file = "COPYING" } |
| 12 | +authors = [ |
| 13 | + { name = "Martin Larralde", email = "martin.larralde@embl.de" }, |
| 14 | +] |
| 15 | +keywords = ["bioinformatics", "ontology", "OBO", "OWL"] |
| 16 | +classifiers = [ |
| 17 | + "Development Status :: 5 - Production/Stable", |
| 18 | + "Intended Audience :: Developers", |
| 19 | + "Intended Audience :: Science/Research", |
| 20 | + "Intended Audience :: Healthcare Industry", |
| 21 | + "License :: OSI Approved :: MIT License", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Programming Language :: Python :: 3.7", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Programming Language :: Python :: 3.10", |
| 27 | + "Programming Language :: Python :: 3.11", |
| 28 | + "Programming Language :: Python :: 3.12", |
| 29 | + "Programming Language :: Python :: 3.13", |
| 30 | + "Programming Language :: Python :: Implementation :: CPython", |
| 31 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 32 | + "Topic :: Scientific/Engineering :: Bio-Informatics", |
| 33 | + "Topic :: Scientific/Engineering :: Medical Science Apps.", |
| 34 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 35 | + "Typing :: Typed", |
| 36 | +] |
| 37 | +dependencies = [ |
| 38 | + "chardet ~=5.0", |
| 39 | + "fastobo ~=0.13.0", |
| 40 | + "networkx >=2.3,<4.0", |
| 41 | + "python-dateutil ~=2.8", |
| 42 | +] |
| 43 | + |
| 44 | +[project.urls] |
| 45 | +"Bug Tracker" = "https://github.com/althonos/pronto/issues" |
| 46 | +"Changelog" = "https://pronto.readthedocs.io/en/latest/changes.html" |
| 47 | +"Documentation" = "https://pronto.readthedocs.io/en/latest/" |
| 48 | +"Coverage" = "https://app.codecov.io/gh/althonos/pronto" |
| 49 | +"CI" = "https://github.com/althonos/pronto/actions" |
| 50 | + |
| 51 | +[tool.setuptools.packages] |
| 52 | +find = {namespaces = false} |
| 53 | + |
| 54 | +[tool.setuptools.dynamic] |
| 55 | +version = {attr = "pronto.__version__"} |
| 56 | + |
| 57 | +[too.coverage.report] |
| 58 | +include = ["pronto/*"] |
| 59 | +omit = ["tests/*"] |
| 60 | +show_missing = true |
| 61 | +exclude_lines = [ |
| 62 | + "pragma: no cover", |
| 63 | + "raise NotImplementedError", |
| 64 | + "if __name__ == .__main__.:", |
| 65 | + "except ImportError:", |
| 66 | + "if typing.TYPE_CHECKING:", |
| 67 | + "@abc.abstractmethod", |
| 68 | +] |
| 69 | + |
| 70 | +[tool.coverage.run] |
| 71 | +branch = true |
| 72 | +source = ["pronto"] |
| 73 | + |
| 74 | +[tool.pydocstyle] |
| 75 | +inherit = false |
| 76 | +ignore = ["D100", "D101", "D102", "D105", "D107", "D200", "D203", "D213", "D406", "D407"] |
| 77 | +match-dir = "(?!tests)(?!resources)(?!docs)(?!build)[^\\.].*" |
| 78 | +match = "(?!test)(?!setup)[^\\._].*\\.py" |
| 79 | + |
| 80 | +[tool.mypy] |
| 81 | +ignore_missing_imports = true |
| 82 | + |
| 83 | +["tool.mypy-pronto.*"] |
| 84 | +disallow_any_decorated = false |
| 85 | +disallow_any_generics = false |
| 86 | +disallow_any_unimported = false |
| 87 | +disallow_subclassing_any = true |
| 88 | +disallow_untyped_calls = false |
| 89 | +disallow_untyped_defs = false |
| 90 | +ignore_missing_imports = false |
| 91 | +warn_unused_ignores = false |
| 92 | +warn_return_any = false |
0 commit comments