-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
124 lines (108 loc) · 3.25 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools>=45"]
build-backend = "setuptools.build_meta"
[project]
name = "nnbench"
description = "A small framework for benchmarking machine learning models."
keywords = ["Benchmarking", "Machine Learning"]
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [{ name = "appliedAI Initiative", email = "[email protected]" }]
maintainers = [
{ name = "Nicholas Junge", email = "[email protected]" },
{ name = "Max Mynter", email = "[email protected]" },
{ name = "Adrian Rumpold", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Benchmark",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"rich",
"tomli >= 1.1.0 ; python_version < '3.11'",
"typing-extensions; python_version < '3.11'",
]
dynamic = ["readme", "version"]
[project.urls]
Homepage = "https://github.com/aai-institute/nnbench"
Repository = "https://github.com/aai-institute/nnbench.git"
Issues = "https://github.com/aai-institute/nnbench/issues"
Discussions = "https://github.com/aai-institute/nnbench/discussions"
[dependency-groups]
dev = [
"build>=1.0.0",
"fsspec",
"pre-commit>=3.3.3",
"psutil",
"pyarrow",
"pytest>=7.4.0",
"pytest-memray; platform_system != 'Windows'",
]
docs = [
"black",
"docstring-parser",
"mike",
"mkdocs",
"mkdocs-callouts",
"mkdocs-gen-files",
"mkdocs-literate-nav",
"mkdocs-section-index",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocs-include-dir-to-nav",
"neoteroi-mkdocs",
]
[project.scripts]
nnbench = "nnbench.cli:main"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.dynamic]
readme = { file = "README.md", content-type = "text/markdown" }
version = { attr = "nnbench.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
nnbench = ["py.typed"]
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
disallow_incomplete_defs = true
pretty = true
python_version = "3.10"
strict_optional = false
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["tabulate", "yaml", "fsspec"]
ignore_missing_imports = true
[tool.ruff]
# explicitly set src folder for isort to understand first-party imports correctly.
src = ["src"]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# Enable pycodestyle errors & warnings (`E`, `W`), Pyflakes (`F`), isort (`I`),
# and pyupgrade (`UP`) by default.
select = ["E", "F", "I", "W", "UP"]
ignore = [
# Line too long
"E501",
# Allow capitalized variable names
"F841",
]
[tool.ruff.lint.per-file-ignores]
# Ignore unused imports in all `__init__.py` files
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"