[project] name = "neo-neo-todo" version = "0.1.0" description = "A todo API" authors = [ {name = "minhtrannhat", email = "minh@minhtrannhat.com"}, ] dependencies = [ "fastapi>=0.103.1", "uvicorn[standard]>=0.23.2", ] requires-python = ">=3.11" readme = "README.md" license = {text = "GPLv3"} [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend" [tool.pdm.dev-dependencies] dev = [ "ruff>=0.0.291", "black>=23.9.1", "pytest>=7.4.2", "pytest-asyncio>=0.21.1", ] [tool.ruff] line-length = 88 # pyflakes, pycodestyle, isort select = ["F", "E", "W", "I001"] [tool.black] target-version = ["py311"] [tool.pytest.ini_options] addopts = "--showlocals" asyncio_mode = "auto" pythonpath = ["src"] [tool.pdm.scripts] # python code formatting format-black = "black src/ tests/" # python code linting lint-ruff = "ruff check src/ tests/" format = {composite = ["format-black"]} lint = {composite = ["lint-ruff"]} test = "pytest tests/"