-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (65 loc) · 1.35 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "minique"
dynamic = ["version"]
description = "Minimal Redis job runner"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
authors = [
{ name = "Valohai", email = "hait@valohai.com" },
]
dependencies = [
"redis>=2.10.0",
]
[project.optional-dependencies]
sentry = [
"sentry_sdk~=1.10",
]
test = [
"pytest-cov",
"pytest>=6",
]
[project.scripts]
minique = "minique.cli:main"
[project.urls]
Homepage = "https://github.com/valohai/minique"
[tool.hatch.version]
path = "minique/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/minique",
]
[[tool.mypy.overrides]]
module = "sentry_sdk.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
norecursedirs = [".git", ".tox"]
filterwarnings = [
"error",
"ignore:.*The distutils package.*:DeprecationWarning",
"ignore:.*the imp module is deprecated in favour of importlib.*:DeprecationWarning",
"ignore:.*the imp module is deprecated in favour of importlib.*:PendingDeprecationWarning",
]
[tool.ruff]
target-version = "py37"
line-length = 88
[tool.ruff.lint]
mccabe.max-complexity = 10
ignore = [
"E501",
]
select = [
"B",
"C9",
"E",
"F",
"PGH003",
"T2",
"TRY201",
"W",
]
[tool.ruff.lint.per-file-ignores]
"minique_tests/**" = ["T2"]