-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
85 lines (76 loc) · 1.74 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
84
[project]
name = "website"
version = "0.3.0"
description = "git-pull website"
requires-python = ">=3.12,<4.0"
authors = [
{name = "Tony Narlock", email = "[email protected]"}
]
license = { text = "All rights reserved." }
homepage = "https://www.git-pull.com"
dependencies = []
[project.urls]
"Bug Tracker" = "https://github.com/git-pull/website/issues"
Repository = "https://github.com/git-pull/website"
homepage = "https://www.git-pull.com"
[tool.uv]
# Development dependencies
dev-dependencies = [
# Docs
"sphinx",
"furo",
"sphinx-autobuild",
"sphinx-inline-tabs",
"sphinxext-opengraph",
"sphinx-copybutton",
"sphinxext-rediraffe",
"myst-parser",
"docutils",
"linkify-it-py",
# Lint
"ruff",
]
[dependency-groups]
docs = [
"sphinx",
"furo",
"sphinx-autobuild",
"sphinx-inline-tabs",
"sphinxext-opengraph",
"sphinx-copybutton",
"sphinxext-rediraffe",
"myst-parser",
"docutils",
"linkify-it-py"
]
lint = [
"ruff"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.mypy]
strict = true
exclude = ["venv", ".venv"]
[tool.ruff]
target-version = "py312"
exclude = ["venv", ".venv"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true