-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (41 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (41 loc) · 1.84 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
[project]
name = "octri_github"
version = "1.1.4"
requires-python = ">=3.10"
dependencies = ["httpx>=0.24.0", "pydantic>=2.0", "typing-extensions>=4.6"]
[project.urls]
Homepage = "https://github.com/OctriDev/github-rest-python-sdk"
Repository = "https://github.com/OctriDev/github-rest-python-sdk"
Issues = "https://github.com/OctriDev/github-rest-python-sdk/issues"
[project.optional-dependencies]
dev = ["ruff>=0.16.0", "mypy>=1.19.0", "pytest>=9.0.0", "pytest-asyncio>=1.3.0", "typing-extensions>=4.0"]
[build-system]
requires = ["setuptools>=67"]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
"octri_github" = ["py.typed"]
[tool.ruff]
line-length = 100
# The release gate runs `ruff check .` from the package root AFTER a build, so
# `build/`, `dist/` and the packed venv exist. Only the generated `src`/`tests`
# should be linted — build copies would otherwise trip I001 (import order) etc.
# `force-exclude` makes these apply even when a path is passed explicitly.
extend-exclude = ["build", "dist", ".venv", "venv", "*.egg-info"]
force-exclude = true
[tool.ruff.lint]
# Import ORDER is not enforced on generated code. Imports here are emitted in a
# deterministic order derived from the spec (client, then models, then methods),
# which is stable across regenerations but is not isort's alphabetical grouping.
# Ruff enables `I` by default from 0.16 on, so it is turned off explicitly.
ignore = ["I001"]
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
# The native verification profile runs mypy from the package root after a
# wheel may already have populated build/. Exclude packaging artifacts so the
# same source package is not discovered twice under different module roots.
exclude = ["build", "dist", ".venv", "venv", "egg-info"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
pythonpath = ["src"]
testpaths = ["tests"]