-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (43 loc) · 1.01 KB
/
pyproject.toml
File metadata and controls
48 lines (43 loc) · 1.01 KB
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
[project]
name = "ocma-api"
version = "0.7.16-alpha"
description = "JSON data for each liturgical day of the year"
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
[dependency-groups]
dev = [
"pytest>=8.3.5",
"ruff>=0.11.1",
"ty>=0.0.11",
]
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py311"
[tool.ruff.lint]
select = [
"ARG", # unused arguments
"B", # bugbear
"C90", # mccabe complexity
"D", # pydocstyle
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"RUF", # ruff-specific rules
"SIM", # simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"D203", # one-blank-line-before-class (conflicts with D211)
"D211", # no-blank-line-before-class (conflicts with D203)
"D213", # multi-line-summary-second-line (conflicts with D212)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
pythonpath = "."
testpaths = ["tests"]