-
Notifications
You must be signed in to change notification settings - Fork 28
/
pyproject.toml
91 lines (79 loc) · 2.09 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=61.2", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# including this section enables version inference
[project]
name = "obonet"
authors = [{name = "Daniel Himmelstein", email = "[email protected]"}]
license = {text = "BSD-2-Clause-Patent"}
description = "Parse OBO formatted ontologies into networkx"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
# "License :: OSI Approved :: BSD 2-Clause Plus Patent License (BSD-2-Clause-Patent)",
# not a valid classifier. see https://github.com/pypa/trove-classifiers/issues/17
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Information Analysis",
]
keywords = [
"obo",
"ontology",
"networkx",
"parser",
"network",
]
requires-python = ">=3.8"
dependencies = ["networkx"]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown; charset=UTF-8"
[project.urls]
Homepage = "https://github.com/dhimmel/obonet"
Source = "https://github.com/dhimmel/obonet"
Tracker = "https://github.com/dhimmel/obonet/issues"
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
]
[tool.setuptools]
packages = ["obonet"]
zip-safe = false
include-package-data = true
license-files = ["LICENSE.md"]
[tool.ruff]
target-version = "py38"
line-length = 88
[tool.ruff.lint]
ignore = [
"E501", # line-too-long
]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycode warnings
]
[tool.mypy]
python_version = "3.8"
strict = true
[[tool.mypy.overrides]]
module = [
"networkx.*",
"setuptools.*",
"pkg_resources.*",
"pytest.*",
"_pytest.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
disallow_untyped_decorators = false