-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (57 loc) · 1.47 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
[project]
name = "jpdata-integrator"
version = "0.1.0"
description = "Data Extraction Script"
requires-python = ">=3.12.0"
dependencies = [
"aiohttp[speedups]",
"backoff",
"fastapi[all]",
"orjson",
"pydantic",
"pydantic_settings",
"tortoise-orm[asyncpg]",
]
[project.optional-dependencies]
dev = ["ruff", "mypy", "pip-tools", "pytest", "pytest-asyncio"]
[project.urls]
Repository = "https://github.com/lpardey/jpdata-integrator"
[tool.ruff]
line-length = 119
target-version = "py312"
exclude = [".git", "__pycache__"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
ignore = ["E231", "E501", "E203"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.12"
pretty = true
show_error_context = true
show_error_codes = true
follow_imports = "silent"
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_any_generics = true
disallow_subclassing_any = false
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
warn_unused_configs = true
warn_unreachable = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
check_untyped_defs = true
no_implicit_optional = true
no_implicit_reexport = false
strict_equality = true
exclude = ['^build/.*', '^tests/.*']
[tool.pytest.ini_options]
python_files = ["tests.py", "test_*.py", "*_tests.py"]
asyncio_mode = "auto"
pythonpath = ["."]