-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
63 lines (51 loc) · 1.37 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
[tool.poetry]
name = "apis-instance-tbf"
version = "0.1.0"
description = "Thomas Bernhard online"
authors = ["K Kollmann <[email protected]>"]
packages = [{include = "apis_ontology"}]
[tool.poetry.dependencies]
python = "^3.11"
apis-acdhch-default-settings = "^1.8.0"
apis-core-rdf = "0.34.1"
psycopg = "^3.2.3"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
deptry = "^0.21.1"
django-debug-toolbar = "^4.4.6"
djlint = "^1.36.3"
pylint = "^3.3.2"
ruff = "^0.8.1"
[tool.djlint]
# djLint config options: https://www.djlint.com/docs/configuration/#options
indent=2
profile="django"
extension="html"
blank_line_before_tag="block,if"
blank_line_after_tag="endif,endblock"
ignore="H006"
[tool.ruff]
src = ["apis_ontology"]
[tool.ruff.format]
line-ending = "lf"
[tool.ruff.lint]
# Ruff lint rules: https://docs.astral.sh/ruff/rules/
select = [
"F", # Pyflakes
"E", # pycodestyle errors
"I", # isort
"N", # pep8-naming
"W", # pycodestyle warnings
]
# Rules conflicting with formatter:
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
ignore = ["E111", "E114", "E117", "E501", "F403", "W191"]
[tool.ruff.lint.isort]
known-first-party = ["apis_ontology"]
[tool.ruff.lint.per-file-ignores]
"**/settings.py" = ["F405"]
"**/migrations/*" = ["I001"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"