-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 2.11 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (81 loc) · 2.11 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
[project]
name = "qodev-gitlab-api"
version = "0.2.2"
description = "Python client for the GitLab API"
readme = "README.md"
authors = [
{ name = "Jan Scheffler", email = "jan.scheffler@qodev.ai" }
]
license = { text = "MIT" }
requires-python = ">=3.11"
keywords = ["gitlab", "api", "client"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.28.1",
"python-dotenv>=1.1.0",
]
[project.urls]
Homepage = "https://github.com/qodevai/gitlab-api"
Repository = "https://github.com/qodevai/gitlab-api"
Issues = "https://github.com/qodevai/gitlab-api/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"ruff>=0.8.0",
"mypy>=1.13.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/qodev_gitlab_api"]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["qodev_gitlab_api"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
check_untyped_defs = true
strict_optional = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.typos.default]
extend-ignore-re = ["[0-9a-zA-Z]{40,}"]
extend-words = { noteable = "noteable" }
[tool.typos.files]
extend-exclude = ["uv.lock", "*.log"]