-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (56 loc) · 2.14 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
[tool.poetry]
name = "app"
version = "0.1.0"
description = ""
authors = ["jaehyuki <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10" # 프로젝트에 사용되는 Python 버전
uvicorn = {extras = ["standard"], version = "^0.24.0.post1"} # ASGI 서버
fastapi = "^0.109.1" # FastAPI 프레임워크
python-multipart = "^0.0.7" # Multipart/form-data 지원
email-validator = "^2.1.0.post1" # 이메일 주소 유효성 검사
passlib = {extras = ["bcrypt"], version = "^1.7.4"} # 비밀번호 해싱 라이브러리
tenacity = "^8.2.3" # 재시도 로직을 쉽게 구현하기 위한 라이브러리
pydantic = ">2.0" # 데이터 유효성 검사 및 설정 관리
httpx = "^0.25.1" # HTTP 요청을 보내기 위한 라이브러리
bcrypt = "4.0.1" # Bcrypt 해싱 알고리즘, passlib과 함께 사용
pyjwt = "^2.8.0" # JSON 웹 토큰(JWT) 생성 및 검증
authlib = "^1.3.1"
pydantic-settings = "^2.3.4"
itsdangerous = "^2.2.0"
python-jose = "^3.3.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3" # 테스트 프레임워크
mypy = "^1.8.0" # 정적 타입 검사기
ruff = "^0.2.2" # Python 코드 스타일 검사기
pre-commit = "^3.6.2" # Git pre-commit 훅 관리 도구
types-passlib = "^1.7.7.20240106" # Passlib의 타입 힌트
coverage = "^7.4.3" # 코드 커버리지 측정 도구
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.mypy]
strict = true
exclude = ["venv", ".venv"]
[tool.ruff]
target-version = "py310"
exclude = ["venv", ".venv"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true # Preserve types, even if a file imports `from __future__ import annotations`.