🚧 Add the sqlalchemy dep to the linters poetry group
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful

This commit is contained in:
2024-02-11 20:14:44 +01:00
parent 0993c42557
commit 688ffeb7f8
2 changed files with 5 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ steps:
cd backend
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
pip install poetry
poetry install --only=linters
poetry install --only=linters --no-root
poetry run ruff --output-format sarif . | ./bin/reviewdog -f sarif -reporter gitea-pr-review
- name: mypy
@@ -23,5 +23,5 @@ steps:
cd backend
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
pip install poetry
poetry install --only=linters
poetry install --only=linters --no-root
poetry run mypy --no-incremental . | ./bin/reviewdog -f mypy -reporter gitea-pr-review

View File

@@ -50,6 +50,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
pylsp-mypy = "^0.6.2"
python-lsp-black = "^1.2.1"
@@ -60,6 +61,7 @@ python-lsp-server = "^1.7.1"
icecream = "^2.1.3"
[tool.poetry.group.linters.dependencies]
autopep8 = "^2.0.1"
black = "^22.10.0"
@@ -75,6 +77,7 @@ types-pyyaml = "^6.0.12.9"
types-tqdm = "^4.65.0.1"
whatthepatch = "^1.0.4"
yapf = "^0.32.0"
sqlalchemy = "^2.0.26"
[tool.mypy]
plugins = "sqlalchemy.ext.mypy.plugin"