Skip to content

Commit

Permalink
[DOP-11712] add github workflow for code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-pedchenko committed Feb 26, 2024
1 parent 58436eb commit dace20f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: poetry run flake8 syncmaster/

- name: Run mypy
run: mypy --config-file ./pyproject.toml ./syncmaster/app
run: poetry run mypy --config-file ./pyproject.toml ./syncmaster/app

codeql:
name: CodeQL
Expand Down
25 changes: 12 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ known_first_party = ["app"]
[tool.mypy]
python_version = "3.11"
plugins = ["pydantic.mypy", "sqlalchemy.ext.mypy.plugin"]
exclude = '''(?x)(tests/.*)'''

[[tool.mypy.overrides]]
module = "alembic.*"
Expand Down Expand Up @@ -108,15 +107,15 @@ ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "uvicorn.*"
ignore_missing_imports = true
#
#[[tool.mypy.overrides]]
#module = "httpx.*"
#ignore_missing_imports = true
#
#[[tool.mypy.overrides]]
#module = "pytest.*"
#ignore_missing_imports = true
#
#[[tool.mypy.overrides]]
#module = "pytest_asyncio.*"
#ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "httpx.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "pytest.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "pytest_asyncio.*"
ignore_missing_imports = true

0 comments on commit dace20f

Please sign in to comment.