-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (60 loc) · 1.44 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
[tool.poetry]
name = "fastapi-basic-auth"
version = "0.1.5"
description = "A simple and flexible Basic Authentication middleware for FastAPI applications"
license = "MIT"
authors = ["dakohhh <[email protected]>"]
readme = "README.md"
repository = "https://github.com/dakohhh/fastapi-basic-auth"
keywords = ["fastapi", "authentication", "basic-auth", "middleware"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: FastAPI",
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pydantic = "^2.10.6"
fastapi = "^0.115.7"
httpx = "^0.28.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.7.2"
pytest = "^8.3.3"
black = "^24.10.0"
mypy = "^1.13.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
)/
'''
skip-string-normalization = true
skip-magic-trailing-comma = true
verbose = true
fast = true
[tool.pytest]
addopts = "-v"
testpaths = ["tests"]
python_files = ["test_*.py"]