-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (61 loc) · 1.42 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
[tool.poetry]
name = "prompt-wars"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.13.1"
django = "==4.2.*"
openai = "*"
django-environ = "*"
psycopg = "*"
django-recaptcha = "*"
sentry-sdk = {extras = ["django"], version = "*"}
gunicorn = "*"
whitenoise = "*"
anthropic = "*"
numpy = "*"
scipy = "*"
django-goals = {url = "https://github.com/EE/django-goals/archive/890db58d27ca668a1866c57c0b4c83ae8dff5581.zip"}
humanize = "*"
voyageai = "*"
google-genai = "*"
[tool.poetry.group.dev.dependencies]
flake8 = "*"
flake8-isort = "*"
pylint = "*"
pytest = "*"
pytest-django = "*"
pylint-django = "*"
flake8-pyproject = "*"
factory-boy = "*"
django-debug-toolbar = "*"
responses = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
ignore = [
"E501", # line too long
"W504", # line break after binary operator
]
[tool.isort]
skip_gitignore = true
lines_after_imports = 2
# 5 = Hanging Grid Grouped
multi_line_output = 5
include_trailing_comma = true
[tool.pylint.format]
recursive = "yes"
errors-only = "yes"
load-plugins = [
"pylint_django",
]
[tool.pylint.pylint_django]
django-settings-module = "llm_wars.settings"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "llm_wars.settings"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
FAIL_INVALID_TEMPLATE_VARS = true
addopts = "--reuse-db"
[tool.black]
skip-string-normalization = true