-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
72 lines (64 loc) · 1.72 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
[project]
name = "highscore-micro-two"
version = "0.2.0"
description = "A FastAPI ASGI microservice to create/query a high score list using SQLModel. Backend is a PostgreSQL database deployed on the ElephantSQL cloud."
license = "MIT"
dependencies = [
"fastapi>=0.109.0",
"uvicorn>=0.26.0",
"sqlmodel>=0.0.14",
"alembic>=1.13.1",
"pydantic>=2.5.3",
"sqlalchemy>=2.0.25",
"greenlet>=3.0.3",
"requests>=2.31.0",
"itsdangerous>=2.1.2",
"asyncio>=3.4.3",
"psycopg2-binary>=2.9.9",
"asyncpg>=0.29.0",
"gunicorn>=21.2.0",
"httpx>=0.26.0",
]
readme = "README.md"
requires-python = ">= 3.9"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"yapf>=0.40.2",
"pytest>=7.4.4",
"pytest-cov>=4.1.0",
"pylint>=3.0.3",
"ipython>=8.18.1",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/highscore-micro-two"]
[tool.yapf]
column_limit = 100
indent_dictionary_value = "True"
allow_split_before_dict_value = "False"
[tool.pytest.ini_options]
addopts = "--cov-branch --cov-report term"
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.coverage.run]
source = ["core"]
[tool.pylint]
max-line-length = 100
disable = [
"C0103", # (invalid-name)
"C0114", # (missing-module-docstring)
"C0115", # (missing-class-docstring)
"C0116", # (missing-function-docstring)
"C0415", # (import-outside-toplevel)
"R0401", # (cyclic-import)
"R0902", # (too-many-instance-attributes)
"R0903", # (too-few-public-methods)
"R0913", # (too-many-arguments)
"R0914", # (too-many-locals)
"W0105", # (pointless-string-statement)
]