-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
100 lines (88 loc) · 2.12 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[build-system]
build-backend = "pdm.backend"
requires = ["pdm-backend"]
[project]
authors = [
{email = "louismmx@gmail.com", name = "Louis Maddox"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Pydantic :: 2",
"Framework :: Pydantic",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"GitPython>=3.1.40",
"argh>=0.31.3",
"defopt",
"line-profiler>=4.1.2",
"msgspec>=0.18.5",
"parse-type>=0.6.2",
"parse>=1.20.0",
"pydantic>=2.4.2",
"pygit2>=1.13.3",
"pysnooper>=1.2.1",
"rich>=13.7.0",
]
description = "Git diff handling in Python."
dynamic = ["version"]
keywords = [
"git",
"pydantic",
"pypi",
]
license = {text = "MIT"}
name = "fugit"
readme = "README.md"
requires-python = ">=3.10,<3.12"
[project.optional-dependencies]
dev = [
"pdm-bump>=0.9.10",
"pdm>=2.22.3",
"pre-commit>=4.1.0",
"pytest>=8.3.4",
]
[project.scripts]
fugit = "fugit.cli:run_cli"
[project.urls]
Homepage = "https://github.com/lmmx/fugit"
Repository = "https://github.com/lmmx/fugit.git"
[tool.isort]
known_first_party = ["fugit"]
[tool.pdm]
version = {path = "src/fugit/__init__.py", source = "file"}
[tool.pdm.dev-dependencies]
develop = [
"pysnooper>=1.2.0",
]
docs = [
"mkdocs-material[recommended,imaging]>=9.5.2",
"mkdocs>=1.5.3",
"mkdocstrings>=0.24.0",
]
mkdocs = []
test = [
"pytest>=7.4.0",
]
[tool.ruff]
ignore = ["C408", "C901", "E501", "E741"]
ignore-init-module-imports = true
select = ["C", "E", "F", "I", "W"]
[tool.ruff.isort]
lines-after-imports = 2
[tool.ruff.lint.isort]
known-first-party = ["fugit"]
[tool.ruff.per-file-ignores]
# Ignore `E401` (unused imports) in all `__init__.py` files.
"__init__.py" = ["E401"]
[tool.tomlsort]
all = true
in_place = true
spaces_before_inline_comment = 2 # Match Python PEP 8
spaces_indent_inline_array = 4 # Match Python PEP 8
trailing_comma_inline_array = true