template-python / pyproject.toml
npv2k1's picture
Refactor code structure for improved readability and maintainability
c3aa969
raw
history blame contribute delete
980 Bytes
[project]
name = "template-python"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"aiokafka>=0.12.0",
"fastapi[standard]>=0.115.8",
"gradio>=5.34.2",
"gradio-webrtc>=0.0.31",
"ipykernel>=6.29.5",
"matplotlib>=3.10.3",
"numpy>=2.2.3",
"opencv-python>=4.11.0.86",
"pika>=1.3.2",
"pytest>=8.3.4",
"rabbitmq>=0.2.0",
"redis>=6.2.0",
"sentence-transformers>=4.1.0",
"uvicorn>=0.34.0",
]
[tool.black]
line-length = 88
target-version = ["py311"]
include = '\.pyi?$'
[tool.ruff]
line-length = 88
target-version = "py311"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = []
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.isort]
known-first-party = ["src"]
[tool.ruff.mccabe]
max-complexity = 10