diff --git a/pyproject.toml b/pyproject.toml index 24de310..130d379 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,10 +33,7 @@ documentation = 'https://WGBH-MLA.github.io/chowda/' repository = 'https://github.com/WGBH-MLA/chowda' [project.optional-dependencies] -production = [ - "uvicorn[standard]~=0.31", - "gunicorn~=23.0", -] +production = ["uvicorn[standard]~=0.31", "gunicorn~=23.0"] test = [ "factory-boy~=3.3", "pytest~=8.3", @@ -52,13 +49,8 @@ test = [ "pytest-asyncio~=0.24", "trio~=0.26", ] -locust = [ - "locust~=2.25", - "pydantic-factories~=1.17", -] -development = [ - "kubernetes~=31.0", -] +locust = ["locust~=2.25", "pydantic-factories~=1.17"] +development = ["kubernetes~=31.0"] [tool.black] extend-exclude = 'migrations' @@ -70,7 +62,7 @@ omit = ['tests/*'] testpaths = ['tests', 'docs'] [tool.ruff] -extend-exclude = ['migrations'] +extend-exclude = ['migrations', 'docs'] [tool.ruff.format] quote-style = 'single' @@ -78,25 +70,25 @@ quote-style = 'single' [tool.lint] ignore = ['Q000'] select = [ - 'B', # flake8-bugbear - 'C4', # flake8-comprehensions + 'B', # flake8-bugbear + 'C4', # flake8-comprehensions 'C90', # mccabe - 'E', # pycodestyle errors + 'E', # pycodestyle errors 'ERA', # eradicate - 'F', # pyflakes + 'F', # pyflakes # 'I', # isort 'INT', # flake8-gettext - 'N', # pep8-naming + 'N', # pep8-naming 'PIE', # flake8-pie, 'PLC', # pylint - convention 'PLE', # pylint - error 'PLW', # pylint - warning - 'Q', # flake8-quotes + 'Q', # flake8-quotes 'RET', # flake8-return, 'RUF', # Ruff-specific rules 'SIM', # flake8-simplify - 'UP', # pyupgrade - 'W', # pycodestyle warnings + 'UP', # pyupgrade + 'W', # pycodestyle warnings ] @@ -107,12 +99,7 @@ version = { source = 'file', path = 'chowda/_version.py' } includes = [] [tool.pdm.dev-dependencies] -dev = [ - "uvicorn~=0.31", - "black~=24.8", - "ruff~=0.6", - "pre-commit~=3.5", -] +dev = ["uvicorn~=0.31", "black~=24.8", "ruff~=0.6", "pre-commit~=3.5"] docs = [ "mkdocs~=1.6", "mkdocs-material~=9.5",