🚧 Add the sqlalchemy dep to the linters poetry group
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
This commit is contained in:
@@ -12,7 +12,7 @@ steps:
|
|||||||
cd backend
|
cd backend
|
||||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
||||||
pip install poetry
|
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
|
poetry run ruff --output-format sarif . | ./bin/reviewdog -f sarif -reporter gitea-pr-review
|
||||||
|
|
||||||
- name: mypy
|
- name: mypy
|
||||||
@@ -23,5 +23,5 @@ steps:
|
|||||||
cd backend
|
cd backend
|
||||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
||||||
pip install poetry
|
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
|
poetry run mypy --no-incremental . | ./bin/reviewdog -f mypy -reporter gitea-pr-review
|
||||||
|
@@ -50,6 +50,7 @@ requires = ["poetry-core"]
|
|||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
pylsp-mypy = "^0.6.2"
|
pylsp-mypy = "^0.6.2"
|
||||||
python-lsp-black = "^1.2.1"
|
python-lsp-black = "^1.2.1"
|
||||||
@@ -60,6 +61,7 @@ python-lsp-server = "^1.7.1"
|
|||||||
icecream = "^2.1.3"
|
icecream = "^2.1.3"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.group.linters.dependencies]
|
[tool.poetry.group.linters.dependencies]
|
||||||
autopep8 = "^2.0.1"
|
autopep8 = "^2.0.1"
|
||||||
black = "^22.10.0"
|
black = "^22.10.0"
|
||||||
@@ -75,6 +77,7 @@ types-pyyaml = "^6.0.12.9"
|
|||||||
types-tqdm = "^4.65.0.1"
|
types-tqdm = "^4.65.0.1"
|
||||||
whatthepatch = "^1.0.4"
|
whatthepatch = "^1.0.4"
|
||||||
yapf = "^0.32.0"
|
yapf = "^0.32.0"
|
||||||
|
sqlalchemy = "^2.0.26"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
plugins = "sqlalchemy.ext.mypy.plugin"
|
plugins = "sqlalchemy.ext.mypy.plugin"
|
||||||
|
Reference in New Issue
Block a user