-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
91 lines (83 loc) · 1.75 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name="USPolis-Refactor"
version="0.1.0"
description = "Refactoring of USPolis backend repository"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "Henrique Duran", email="henriquefduran@usp.br"},
{name = "Gabriel Di Vanna Camargo", email="gabriel_camargo@usp.br"}
]
dependencies = [
"bcrypt~=4.0",
"fastapi~=0.104",
"fastapi-jwt>=0.2",
"fastapi-mail~=1.4",
"python-decouple~=3.8",
"uvicorn~=0.24",
"pydantic==2.7",
"boto3",
"requests",
"sqlmodel",
"beautifulsoup4",
"psycopg2-binary",
"tenacity",
"pytz",
"alembic",
"asyncpg",
"google-api-python-client",
"google-auth-httplib2",
"google-auth-oauthlib",
"httpx",
"Jinja2",
"smtplib",
]
[project.optional-dependencies]
dev = [
"mypy",
"ruff",
"types-requests",
"types-beautifulsoup4",
"types-pytz"
]
test = [
"asgi-lifespan~=2.1",
"httpx~=0.25",
"pytest-asyncio~=0.21",
]
[project.urls]
"Source" = "https://github.com/flyinactor91/fastapi-beanie-jwt"
[tool.mypy]
exclude = ['build']
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
explicit_package_bases = true
ignore_missing_imports = false
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.pyright]
include = ["server", "tests"]
exclude = ["**/node_modules",
"**/__pycache__",
"**/build"
]
ignore = ["server/oldstuff"]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.11"
pythonPlatform = "Linux"
[tool.ruff]
lint.extend-select = [
"UP"
]
lint.ignore = [
]
line-length = 88
indent-width = 4
[tool.setuptools]
packages = ["server", "tests"]