Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
64 lines
1.1 KiB
TOML
64 lines
1.1 KiB
TOML
[project]
|
|
name = "thechart"
|
|
version = "1.0.1"
|
|
description = "Chart to monitor your medication intake over time."
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"colorlog>=6.9.0",
|
|
"dotenv>=0.9.9",
|
|
"matplotlib>=3.10.3",
|
|
"pandas>=2.3.1",
|
|
"tk>=0.1.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["pre-commit>=4.2.0", "pyinstaller>=6.14.2", "ruff>=0.12.5"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py313" # Target Python 3.13
|
|
exclude = [
|
|
".csv",
|
|
".log",
|
|
".md",
|
|
".pyc",
|
|
".pyo",
|
|
".pyd",
|
|
".pkl",
|
|
".sqlite3",
|
|
".git",
|
|
".github",
|
|
".idea",
|
|
".vscode/*",
|
|
".pytest_cache",
|
|
".mypy_cache",
|
|
".ruff_cache",
|
|
".tox",
|
|
".venv/*",
|
|
"tests/*",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
# Pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
"UP",
|
|
# flake8-bugbear
|
|
"B",
|
|
# flake8-simplify
|
|
"SIM",
|
|
# isort
|
|
"I",
|
|
]
|
|
|
|
[tool.ruff.format]
|
|
docstring-code-format = true
|
|
quote-style = "double" # Use double quotes for strings (like Black)
|
|
indent-style = "space" # Use spaces for indentation
|
|
|
|
[tool.ruff.lint.pycodestyle]
|
|
max-line-length = 88
|