-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (95 loc) · 1.57 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[project]
name = "upcloud-api"
version = "2.9.0"
description = "UpCloud API Client"
readme = "README.md"
requires-python = ">=3.11,<4"
license = "MIT"
license-files = ["LICENSE.txt"]
dependencies = ["requests"]
[[project.maintainers]]
name = "UpCloud"
email = "hello@upcloud.com"
[project.optional-dependencies]
keyring = ["keyring>=23.0"]
[project.urls]
Homepage = "https://github.com/UpCloudLtd/upcloud-python-api"
[dependency-groups]
dev = [
"keyring",
"mock",
"pre-commit",
"pytest",
"pytest-cov",
"responses",
"ruff",
]
[build-system]
requires = ["uv_build>=0.12.9,<0.13.0"]
build-backend = "uv_build"
[tool.uv]
required-version = ">=0.12.9,<0.13.0"
[tool.uv.build-backend]
module-name = "upcloud_api"
module-root = ""
source-include = [
"docs/**",
"mkdocs.yml",
"test/conftest.py",
"test/json_data/**",
"test/test_*.py",
]
[tool.pytest.ini_options]
addopts = [
"--cov=test",
"--cov=upcloud_api",
"--cov-report=term-missing",
]
testpaths = ["test"]
[tool.ruff]
target-version = "py311"
exclude = [
".git",
"ENV",
"__pycache__",
"build",
]
line-length = 99
[tool.ruff.lint]
ignore = [
"D100",
"D104",
"D105",
"D200",
"D202",
"D203",
"D205",
"D212",
"D400",
"D401",
"D403",
"D415",
"E501",
]
select = [
"B",
"D",
"E",
"F",
"I",
"S",
"UP",
"W",
]
[tool.ruff.lint.per-file-ignores]
"*/__init__.py" = ["F401"]
"test/*" = [
"D",
"F841",
"S101",
"S105",
"S106",
"B011",
]
[tool.ruff.format]
quote-style = "preserve"