-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
75 lines (61 loc) · 1.12 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "valohai-utils"
dynamic = ["version"]
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
authors = [
{ name = "Valohai", email = "[email protected]" },
]
dependencies = [
"requests",
"valohai-papi>=0.1.1",
"valohai-yaml>=0.22.0",
]
[tool.hatch.version]
path = "valohai/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/valohai",
]
[tool.hatch.build.targets.wheel]
packages = [
"/valohai",
]
[tool.ruff]
target-version = "py37"
[tool.ruff.lint]
ignore = [
"E501",
"RET504",
"SIM105",
]
extend-select = [
"C9",
"E",
"F",
"RET",
"SIM",
"T2",
"W",
]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["T201"]
[tool]
[tool.mypy]
exclude = "tests/*"
[[tool.mypy.overrides]]
module = "setuptools.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tqdm.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
norecursedirs = [".git", ".tox"]
[tool.coverage.run]
omit = ["*site-packages*", "setup.py"]