@@ -21,16 +21,24 @@ classifiers = [
2121 " Topic :: System :: Logging" ,
2222]
2323dependencies = [
24- " asyncio==3.4.3" ,
25- " lagom==2.6.0" ,
26- " pydantic==2.9.2" ,
27- " fastapi==0.100.0" ,
28- " python-socketio==5.12.1" ,
29- " python-socketio[client]==5.12.1" ,
30- " uvicorn[standard]==0.30.6" ,
31- " uvicorn-worker==0.2.0" ,
32- " python-multipart==0.0.10" ,
33- " httpx==0.27.2" ,
24+ " lagom>=2.6.0" ,
25+ " pydantic>=2.9.2" ,
26+ " fastapi>=0.100.0" ,
27+ " python-socketio>=5.12.1" ,
28+ " python-socketio[client]>=5.12.1" ,
29+ " uvicorn[standard]>=0.30.6" ,
30+ " uvicorn-worker>=0.2.0" ,
31+ " python-multipart>=0.0.10" ,
32+ " httpx>=0.27.2" ,
33+ ]
34+
35+ [project .optional-dependencies ]
36+ django = [" django>=5.1.1" ]
37+ dev = [
38+ " pytest>=8.3.3" ,
39+ " pytest-asyncio>=0.24.0" ,
40+ " pytest-cov>=6.0.0" ,
41+ " ruff>=0.1.0" ,
3442]
3543
3644[project .urls ]
@@ -40,4 +48,28 @@ Repository = "https://github.com/Msameim181/Python-Logging-Best-Practice.git"
4048Issues = " https://github.com/Msameim181/Python-Logging-Best-Practice/issues"
4149
4250[tool .hatch .build .targets .wheel ]
43- packages = [" src/chromatrace" ]
51+ packages = [" src/chromatrace" ]
52+
53+ [tool .ruff ]
54+ line-length = 100
55+ target-version = " py310"
56+
57+ [tool .ruff .lint ]
58+ select = [
59+ " E" , # pycodestyle errors
60+ " W" , # pycodestyle warnings
61+ " F" , # pyflakes
62+ " I" , # isort
63+ " C" , # flake8-comprehensions
64+ " B" , # flake8-bugbear
65+ ]
66+ ignore = [" E501" ] # line length
67+
68+ [tool .ruff .lint .per-file-ignores ]
69+ "__init__.py" = [" F401" ]
70+
71+ [tool .mypy ]
72+ python_version = " 3.10"
73+ warn_return_any = true
74+ warn_unused_configs = true
75+ disallow_untyped_defs = true
0 commit comments