-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
52 lines (44 loc) · 1.18 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
[project]
name = "base-flask"
version = "1.0.0"
dependencies = [
# Core packages
"python-dotenv==1.0.1", # Read environment variables from .env
"Flask==3.0.3", # Web microframework
"gunicorn==23.0.0", # WSGI server
"syspath==3.0.6", # Modify paths
# Features
"flask-sitemap==0.4.0", # Web sitemaps
# Monitoring/tracking/logging
"blinker==1.8.2", # Dependency of rollbar
"rollbar==1.0.0", # rollbar.com error logging
"setproctitle==1.3.3", # Allow gunicorn to set process title
"varsnap==1.5.8", # Test discovery
]
[project.optional-dependencies]
test = [
# Testing
"coverage==7.6.1", # Test coverage
"mypy==1.11.2", # Type checking
"ruff==0.6.7", # Python linter
]
[tool.ruff]
# https://docs.astral.sh/ruff/rules/
lint.select = ["E", "F", "W", "A", "B", "COM", "N", "PLC", "PLE", "PLW"]
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.coverage.run]
source = [
".",
]
omit = [
".virtualenv",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
'if __name__ == "__main__":',
]
[tool.setuptools]
py-modules = []