-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
72 lines (60 loc) · 1.65 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
[tool.poetry]
name = "apis-instance-frischmuth"
version = "0.2.0"
description = "Digitales Archiv Barbara Frischmuth"
authors = [
"K Kollmann <[email protected]>",
"Barbara Krautgartner <[email protected]>"
]
license = "MIT"
repository = "https://github.com/acdh-oeaw/apis-instance-frischmuth"
packages = [{include = "apis_ontology"}]
[tool.poetry.dependencies]
python = "^3.11"
apis-acdhch-default-settings = "1.5.0"
apis-core = {git = "https://github.com/acdh-oeaw/apis-core-rdf", rev = "v0.27.0"}
dateparser = "^1.2.0"
django-cors-headers = "^4.6.0"
django-extensions = "^3.2.3"
openpyxl = "^3.1.2"
pandas = "^2.1.4"
psycopg = "^3.1.12"
pyzotero = "^1.5.18"
sharepy = "^2.0.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
django-debug-toolbar = "^4.4.5"
deptry = "*"
djlint = "*"
pylint = "^3.0.2"
ruff = "*"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "*"
sphinx-rtd-theme = "*"
myst-parser = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.djlint]
indent=2
profile="django"
extension="html"
blank_line_before_tag="block,if"
blank_line_after_tag="endif,endblock"
format_js=false
[tool.ruff]
src = ["apis_ontology"]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N"]
# Ignore (some) selected rules based on Ruff recommendation:
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
ignore = ["E501", "F403", "W191", "E111", "E114", "E117"]
[tool.ruff.lint.isort]
known-first-party = ["apis_ontology"]
lines-after-imports = 2
[tool.ruff.lint.per-file-ignores]
"**/settings.py" = ["F405"]
"**/migrations/*" = ["I001"]