-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
99 lines (92 loc) · 1.73 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
[project]
name = "modules"
version = "0.1.0"
description = "modules"
readme = "README.md"
keywords = [
"computer vision",
]
license = { file = "LICENSE" }
authors = [{ name = "takuoko", email = "[email protected]" }]
requires-python = ">= 3.10"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mmengine",
"torch>=2.1.2",
"torchvision>=0.16.2",
]
[project.optional-dependencies]
dev = [
"coverage",
"pre-commit",
"pytest",
]
docs = [
"docutils==0.18.1",
"modelindex",
"myst-parser",
"pytorch_sphinx_theme@ git+https://github.com/mzr1996/pytorch_sphinx_theme",
"sphinx==6.1.3",
"sphinx-autoapi",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-notfound-page",
"sphinx-rtd-theme",
"sphinx-tabs",
"sphinxcontrib-jquery",
"tabulate",
]
[project.scripts]
modules = "modules:cli"
[tool.setuptools.packages.find]
exclude = [
"build*",
"docs*",
"dist*",
"tests*",
"docker*",
"data*",
"work_dirs*",
"projects*",
]
[tool.distutils.bdist_wheel]
universal = true
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"PGH004",
"B028",
"ANN002",
"ANN003",
"ERA001",
"C408",
"INP001",
"D100",
"D107",
"D104",
]
[tool.ruff.lint.per-file-ignores]
"modules/configs/*" = ["F403", "F405", "TID252"]
[tool.mypy]
python_version = "3.11"
no_strict_optional = true
ignore_missing_imports = true
check_untyped_defs = true
[tool.wheel]
exclude = [
"build*",
"docs*",
"dist*",
"tests*",
"docker*",
"data*",
"work_dirs*",
"projects*",
]