-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (59 loc) · 1.24 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "laituri"
dynamic = ["version"]
description = "Docker Toolkit for Python"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Valohai", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"requests>=2.23,<3",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"requests-mock",
]
[project.urls]
Homepage = "https://github.com/valohai/laituri"
[tool.hatch.version]
path = "laituri/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/laituri",
]
[tool.mypy]
strict = true
exclude = "laituri_tests/test_.*"
[tool.ruff]
target-version = "py38"
line-length = 120
[tool.ruff.lint]
mccabe.max-complexity = 10
flake8-tidy-imports.ban-relative-imports = "all"
select = [
"B", # bugbear
"C90", # mccabe
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"T", # debugger and print
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = []
[tool.ruff.format]
quote-style = "preserve"