-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
75 lines (67 loc) · 1.96 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "chromatrace"
version = "0.2.14"
description = "Advanced Python logging with tracing, coloring and FastAPI, Django, and SocketIO integrations"
readme = "README.md"
authors = [
{ name = "Mohammad Mahdi Samei", email = "9259samei@gmail.com" }
]
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging",
]
dependencies = [
"lagom>=2.6.0",
"pydantic>=2.9.2",
"fastapi>=0.100.0",
"python-socketio>=5.12.1",
"python-socketio[client]>=5.12.1",
"uvicorn[standard]>=0.30.6",
"uvicorn-worker>=0.2.0",
"python-multipart>=0.0.10",
"httpx>=0.27.2",
]
[project.optional-dependencies]
django = ["django>=5.1.1"]
dev = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"ruff>=0.1.0",
]
[project.urls]
Homepage = "https://github.com/Msameim181/Python-Logging-Best-Practice"
Documentation = "https://github.com/Msameim181/Python-Logging-Best-Practice#readme"
Repository = "https://github.com/Msameim181/Python-Logging-Best-Practice.git"
Issues = "https://github.com/Msameim181/Python-Logging-Best-Practice/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/chromatrace"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = ["E501"] # line length
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true