-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
86 lines (75 loc) · 1.63 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "wanikani_burnt_kanji_to_anki"
authors = [{name = "Andy Freeland", email = "[email protected]"}]
classifiers = [
"License :: OSI Approved :: MIT License",
"Private :: Do Not Upload",
]
dynamic = ["version", "description"]
requires-python = ">=3.12"
dependencies = [
"attrs >= 21.3.0",
"click",
"httpx",
"structlog",
]
[project.scripts]
wanikani-burnt-kanji-to-anki = "wanikani_burnt_kanji_to_anki.__main__:cli"
[project.urls]
Home = "https://github.com/rouge8/wanikani-burnt-kanji-to-anki"
[tool.pytest.ini_options]
addopts = "--strict-config --strict-markers"
[tool.mypy]
strict = true
allow_redefinition = true
warn_unreachable = true
[tool.pyright]
venv = "wanikani-burnt-kanji-to-anki"
[tool.hatch.version]
path = "src/wanikani_burnt_kanji_to_anki/__init__.py"
[tool.ruff]
target-version = "py312"
select = [
"E",
"F",
"W",
"I",
"B",
"B90",
"D2",
"D213",
"D3",
"D404",
"C4",
"UP",
"ISC",
"PGH",
"RUF",
]
ignore = [
# 1 blank line required before class docstring
"D203",
# Our docstring style allows for a multi-line summary, e.g.:
#
#"""
# Prevent database use without the appropriate fixture/marker, used
# automatically.
#
# Additional content goes here.
#"""
"D205",
# Inverse of D213
"D212",
# Explicitly concatenated string should be implicitly concatenated
"ISC003",
]
[tool.ruff.isort]
force-single-line = true
force-sort-within-sections = true
order-by-type = false
known-first-party = ["wanikani_burnt_kanji_to_anki"]
[tool.ruff.flake8-implicit-str-concat]
allow-multiline = false