-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (74 loc) · 1.95 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[project]
name = "github-issues-import"
description = "Modern, typesafe Python client for GitHub's unofficial API for importing issues"
readme = "README.md"
authors = [
{ name = "Yury V. Zaytsev", email = "yury@shurup.com" }
]
repository = "https://github.com/zyv/github-issues-import"
keywords = ["github", "github-api", "import", "pydantic", "httpx"]
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version"]
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.0",
"httpx",
]
[dependency-groups]
dev = [
"hatch>=1.14.0",
"pytest-cov>=6.0.0",
"respx>=0.22.0",
"ruff>=0.9.5",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/github_issues_import/__about__.py"
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = [
"C4", # flake8-comprehensions
"COM", # flake8-commas
"DTZ", # flake8-datetimez
"E", # pycodestyle Error
"F", # Pyflakes
"I", # isort
"LOG", # flake8-logging
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"Q", # flake8-quotes
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # ruff-specific rules
"T10", # flake8-debugger
"T20", # flake8-print
"UP", # pyupgrade
"W", # pycodestyle Warning
]
ignore = [
"COM812", # comma consistency enforced by formatter
]
fixable = ["ALL"]
unfixable = []
[tool.pytest.ini_options]
log_cli = true
log_level = "DEBUG"
addopts = "--cov --cov-fail-under=95"
[tool.coverage.run]
branch = true
source = ["src"]