-
Notifications
You must be signed in to change notification settings - Fork 72
/
pyproject.toml
58 lines (51 loc) · 1.07 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
[project]
name = "docker-python-nodejs"
version = "0.1.0"
dependencies = [
"requests",
"semver",
"beautifulsoup4",
"jinja2",
]
description = "Build docker images with Python and Node.js"
readme = "README.md"
requires-python = "~= 3.12"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
dpn = "docker_python_nodejs:dpn"
[tool.uv]
dev-dependencies = [
"pytest",
"pre-commit",
"ruff==0.8.0",
"pytest-cov",
"mypy",
"types-requests",
"types-beautifulsoup4",
"pytest-socket",
"responses",
]
[tool.ruff]
line-length = 120
select = ["ALL"]
ignore = [
"T201", # This is a cli
"DTZ003", # Allow naive datetimes
"FBT002", # Allow boolean traps
"G004", # Allow using f-strings when logging
"D", # FIXME: docs
"TD", # Allow TODOs
"FBT001", # Allow boolean function args
"FIX001" # Allow fixme's
]
target-version = "py312"
[tool.ruff.per-file-ignores]
"**/test*.py" = ["S101"]
[tool.mypy]
strict = true
disallow_any_unimported = true
no_implicit_optional = true
[tool.pytest.ini_options]
addopts = "--disable-socket"