20ad43d694
update tests by adding a test_utils module
42 lines
794 B
TOML
42 lines
794 B
TOML
[project]
|
|
name = "logwatcher"
|
|
version = "0.0.1"
|
|
description = "Trier, classifier et extraire automatiquement les entrées pertinentes d'un fichier de logs applicatif."
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"exchangelib>=5.6.0",
|
|
"python-dotenv>=1.2.3",
|
|
"typer>=0.27.2",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.16.7",
|
|
"mypy>=2.3.1",
|
|
"pytest>=9.1.1",
|
|
"pytest-cov>=7.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
logwatcher = "logwatcher.__main__:main"
|
|
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/logwatcher"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.mypy]
|
|
exclude = [
|
|
"^tests/"
|
|
]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "exchangelib.*"
|
|
ignore_missing_imports = true |