-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (68 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
76 lines (68 loc) · 1.6 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
[project]
name = "pesu-auth"
version = "2.1.0"
description = "A simple API to authenticate PESU credentials using PESU Academy."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Aditeya Baral", email = "aditeya.baral@gmail.com" }
]
dependencies = [
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"httpx>=0.28.1",
"pydantic>=2.6.0",
"pytz>=2025.2",
"selectolax>=0.3.30",
]
[project.optional-dependencies]
dev = [
"matplotlib>=3.10.3",
"numpy>=2.3.1",
"pandas>=2.3.1",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"pytest-asyncio>=1.0.0",
"pytest-cov>=6.2.1",
"python-dotenv>=1.1.0",
"ruff>=0.12.2",
"seaborn>=0.13.2",
"tqdm>=4.67.1",
]
[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]
line-length = 120
target-version = "py311"
exclude = [
"tests/"
]
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true