-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (52 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
60 lines (52 loc) · 1.09 KB
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
[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.14.0"
[build-system]
requires = ["uv_build>=0.10.2,<0.11.0"]
build-backend = "uv_build"
[project.scripts]
dpn = "docker_python_nodejs:dpn"
[dependency-groups]
dev = [
"pytest",
"pre-commit",
"ruff",
"pytest-cov",
"mypy",
"types-requests",
"types-beautifulsoup4",
"pytest-socket",
"responses",
]
[tool.ruff]
line-length = 120
target-version = "py314"
[tool.ruff.lint]
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
]
[tool.ruff.lint.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"