-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
69 lines (62 loc) · 1.31 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
[project]
name = "vulnrelay"
version = "0.1.0"
description = "Run vulnerabilities scanner(s) and sync findings"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"pydantic-settings>=2.6.0",
"requests>=2.32.3",
]
[tool.uv]
dev-dependencies = [
"ruff",
"mypy",
"pre-commit",
"freezegun",
"pytest",
"pytest-watcher",
"pytest-asyncio",
"pytest-mock",
"pytest-socket",
"pytest-xdist",
"pytest-subprocess>=1.5.2",
"responses>=0.25.3",
"faker>=30.8.1",
"pytest-responses>=0.5.1",
"types-requests>=2.32.0.20241016",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
pythonpath = ["src"]
[tool.ruff]
src = ["src", "tests"]
line-length = 120
[tool.ruff.lint]
select = [
"E", "F", "I", "UP", "S",
"TCH005",
]
ignore = [
"S101", "S108", "S603", "S607",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/test*/**.py" = ["D", "F403", "F405", "S106", "S311"]
[tool.mypy]
python_version = "3.12"
mypy_path = "src:tests"
strict = true
ignore_missing_imports = true
exclude = [".venv"]
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"tests.*",
]
disallow_untyped_defs = false
disallow_untyped_calls = false
disallow_incomplete_defs = false
disallow_any_generics = false
disallow_subclassing_any = false