-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (36 loc) · 1.08 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
[tool.poetry]
name = "survey-accelerator"
version = "0.1.0"
description = "Survey Accelerator"
authors = ["Mark Botterill <mark.botterill@idinsight.org>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
pre-commit = "^4.0.1"
[tool.ruff]
lint.select = ["E", "F", "B", "Q", "I"]
line-length = 88
lint.ignore = ["B008"] # Do not perform function calls in argument defaults.
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends", "fastapi.params.Depends","typer.Option"]
[tool.ruff.lint.isort]
known-first-party = ["core_backend"]
[tool.isort]
known_first_party = ["core_backend"]
[tool.mypy]
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["google.auth.transport", "google.oauth2", "gunicorn.arbiter", "prometheus_client",
"pgvector.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning"
]
markers = [
"rails: marks tests that are testing rails. These call an LLM service."
]
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"