-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·76 lines (68 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
executable file
·76 lines (68 loc) · 1.89 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
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
[tool.poetry]
name = "dance-database"
version = "0.1.0"
description = "Scraper, API and database for the social dancing community in Scandinavia."
authors = ["Nizo Priskorn"]
license = "GPLv3+"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.10,<3.15"
requests = "^2.28.2"
pydantic = "^2"
beautifulsoup4 = "^4.14.2"
wikibaseintegrator = "^0.12.15"
lxml = "^6.0.2"
opencode-sdk = "^0.2.0"
opencode-ai = "^0.1.0a36"
jsonschema = "^4.26.0"
pyyaml = "^6.0"
questionary = "^2.1.1"
tenacity = "^9.1.4"
[tool.poetry.group.dev.dependencies]
bandit = "^1.7.4"
black = "^26.0.0"
codespell = "^2.2.2"
coverage = "^7.1.0"
flake8 = "^7.0.0"
isort = "^5.12.0"
mypy = "^1.0.0"
pre-commit = "^4.0.0"
pytest = "^9.0.0"
pyupgrade = "^3.3.1"
types-python-dateutil = "^2.8.19.13"
types-requests = "^2.31.0.1"
ruff = "^0.15.0"
safety = "^3.0.0"
[tool.ruff]
line-length = 160
[tool.mypy]
exclude = ["deprecated", "tests"]
ignore_missing_imports = true
no_implicit_optional = false
warn_unused_configs = false
disallow_untyped_defs = false
[tool.ruff.per-file-ignores]
"deprecated/*" = ["E402", "E501", "E741"]
"tests/*" = ["E501", "F401", "E402"]
"cli.py" = ["E402"]
"src/models/dancedb/ensure/*" = ["E501", "E402", "F811", "F821"]
"src/models/danslogen/*" = ["E501"]
"src/models/folketshus/*" = ["E402", "E501"]
"src/models/dancedb/sync/*" = ["E402", "F811", "F821"]
"src/models/wikidata/*" = ["F821"]
"src/cli/handlers/*" = ["E501", "E402"]
"src/utils/dancedb_checks.py" = ["E501"]
"src/cli/handlers/find.py" = ["E501", "E402"]
"src/cli/handlers/check.py" = ["E501", "E402"]
"src/utils/geodb.py" = ["F821"]
"src/models/dancedb/statistics.py" = ["E501", "E402"]
[tool.black]
line-length = 160
[tool.isort]
line_length = 160
skip_gitignore = true
skip_glob = ["tests/*", "src/cli/handlers/find.py", "src/cli/handlers/check.py"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"