From 9323c64e0172f1efafb55775fe97a1c226ecad7d Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Wed, 3 Jun 2026 23:51:58 +0000 Subject: [PATCH] Upload pyproject.toml --- pyproject.toml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4bcc57b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,56 @@ +[build-system] +requires = ["setuptools>=68", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "crm-system" +version = "1.0.0" +description = "Self-hosted CRM for small sales teams" +requires-python = ">=3.11" + +[tool.pytest.ini_options] +asyncio_mode = "auto" +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +python_functions = ["test_*"] +addopts = [ + "-ra", + "--strict-markers", + "--tb=short", +] +filterwarnings = [ + "ignore::DeprecationWarning:passlib.*", + "ignore::DeprecationWarning:jose.*", +] + +[tool.coverage.run] +source = ["app"] +branch = true +omit = [ + "app/__init__.py", + "app/*/__init__.py", +] + +[tool.coverage.report] +precision = 2 +show_missing = true +skip_covered = false + +[tool.ruff] +line-length = 100 +target-version = "py311" +extend-exclude = [".venv", "alembic/versions"] + +[tool.ruff.lint] +select = ["E", "F", "W", "I", "B", "UP", "N", "ASYNC"] +ignore = ["E501", "B008"] + +[tool.mypy] +python_version = "3.11" +strict = true +ignore_missing_imports = true +warn_unused_ignores = true +warn_return_any = true +disallow_untyped_defs = false +files = ["app"]