-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (34 loc) · 1.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
[project]
name = "rootsy"
version = "0.1.0"
description = "A pythonic GEDCOM file parser"
authors = [{ name = "Ester Beltrami", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.13"
dependencies = ["attrs>=24.2.0"]
[dependency-groups]
dev = ["pytest>=8.3.4"]
[tool.ruff]
target-version = "py313"
line-length = 88
[tool.ruff.lint]
select = ["ALL"]
fixable = ["ALL"]
ignore = [
# pragma: alphabetize
"C901", # Function too complex
"D1", # Missing docstring in {}
"DTZ001", # `datetime.datetime()` called without a `tzinfo` argument
"DTZ007", # Naive datetime constructed using `datetime.datetime.strptime()` without %z
"PLR0912", # Too many branches
"S101", # Use of `assert` detected
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the second line
"COM812", # Missing trailing comma. Removed due to formatter redundancy.
"ISC001",
# single-line-implicit-string-concatenation. Excluding due to ruff issues.
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401", # `foo` imported but unused
]