-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
80 lines (71 loc) · 1.71 KB
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
[project]
name = "pesu-auth"
version = "3.0.0"
description = "A simple API to authenticate PESU credentials using PESU Academy."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "Aditeya Baral", email = "aditeya.baral@gmail.com" }
]
dependencies = [
"fastapi>=0.136.1",
"uvicorn>=0.47.0",
"httpx>=0.28.1",
"pydantic>=2.13.4",
"selectolax>=0.4.9",
]
[dependency-groups]
dev = [
"matplotlib>=3.10.9",
"mdformat>=1.0.0",
"mdformat-gfm>=1.0.0",
"numpy>=2.4.6",
"pandas>=3.0.3",
"pre-commit>=4.6.0",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"python-dotenv>=1.2.2",
"ruff>=0.15.14",
"seaborn>=0.13.2",
"tqdm>=4.67.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.pytest.ini_options]
pythonpath = ["."]
markers = [
"secret_required: marks tests that require secrets or environment variables (e.g. TEST_PRN, TEST_PASSWORD)"
]
[tool.ruff.lint]
select = [
"E", # Pycodestyle errors
"F", # Pyflakes errors
"W", # Pycodestyle warnings
"UP", # Pyupgrade rules
"I", # Import related rules
"C90", # Complexity rules
"D", # Documentation rules
"ANN", # Annotations rules
"TYP", # Type checking rules
"N", # Naming rules
"Q000", # Quotation style rules
"RET", # Return type rules
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-type-checking]
runtime-evaluated-base-classes = ["pydantic.BaseModel"]
[tool.ruff]
line-length = 120
target-version = "py314"
exclude = [
"tests/"
]
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true