Skip to content

Commit

Permalink
Remove mypy --strict for all CI/CD config files, does not respect --d…
Browse files Browse the repository at this point in the history
…isable-error-code import-untyped.
  • Loading branch information
argythana committed Jun 18, 2024
1 parent 8cd3fa3 commit 186b154
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- run: black --check src
- run: isort --check-only src
- run: ruff check src
- run: mypy src --strict --ignore-missing-imports --disable-error-code import-untyped
- run: mypy src --ignore-missing-imports --disable-error-code import-untyped
- run: pyright src
- name: Run tests and collect coverage
run: pytest --cov --cov-report=xml
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ build-backend = "poetry.core.masonry.api"
profile = "black"

[tool.mypy]
strict = true
disable_error_code = "import-untyped"
ignore_missing_imports = true

Expand Down

0 comments on commit 186b154

Please sign in to comment.