[tool.poetry] name = "lockbox" version = "0.1.0" description = "File Sharing Service" authors = ["Jordi Loyzaga "] license = "MIT" readme = "README.md" [tool.poetry.dependencies] python = "3.12" django = "~4.2.0" [tool.poetry.group.dev.dependencies] pytest = "^8.0.0" pytest-django = "^4.8.0" pytest-cov = "^4.1.0" ruff = "^0.2.1" [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "lockbox.settings" python_files = ["test_*.py", "*_test.py", "testing/python/*.py"] [tool.coverage.run] omit = [ # management "*/migrations/*", # are tests "*/tests/*", # no code "*/__init__.py", "*/apps.py", "*/admin.py", "*/constants.py", # no need to test "*/managers.py", # "*/models.py", "*/urls.py", "manage.py", "lockbox/asgi.py", "lockbox/wsgi.py", ] [tool.ruff] exclude = [ "*/migrations/[0-9]*", ".pyscripts/*", "pyenv*", ".pyenv*", ".git", ".venv", ] line-length = 120 target-version = "py312" [tool.ruff.lint] select = ["ALL"] ignore = [ "ANN", "D", "DJ001", "DJ012", "ERA001", "N801", "Q000", "RUF012", "TRY", "S101", "SLF001", ] [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"