-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (53 loc) · 1.21 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
[project]
name = "py-microservice"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
[dependency-groups]
pymicroservice = [
"requests>=2.32.3",
"cryptography>=44.0.0",
"fastapi[standard]>=0.115.6",
"gunicorn>=23.0.0",
"loguru>=0.7.3",
"pydantic-settings>=2.7.0",
"pyjwt>=2.10.1",
"requests>=2.32.3",
"kombu>=5.4.2",
"celery-types>=0.22.0",
"types-requests>=2.32.0.20241016",
]
sample = [
"celery>=5.4.0",
"redis>=5.2.1",
]
[tool.uv]
default-groups = ["pymicroservice", "sample"]
dev-dependencies= [
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"ruff>=0.8.0",
"mypy>=1.14.1",
"httpx>=0.28.1",
]
[tool.pytest.ini_options]
pythonpath = ["./pymicroservice", "./sample"]
[tool.ruff]
lint.select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",] # Rules to apply
lint.ignore = [] # Example of ignoring specific rules
lint.fixable = ["ALL"] # Allow automatic fixes for all fixable issues
target-version = "py312" # Target Python version
line-length = 120 # Line length for formatting