Skip to content

Commit

Permalink
update mypy, don't use --strict in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
artemisart committed Feb 3, 2024
1 parent 12c38d0 commit 54eafb7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 33 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
# For https://github.com/tsuyoshicho/action-mypy to display a report on the PR
pull-requests: write
strategy:
fail-fast: false
Expand All @@ -38,7 +39,7 @@ jobs:
run: poetry run pytest --cov=functional --cov-report=xml
if: always()
- name: mypy
run: poetry run mypy --strict functional
run: poetry run mypy --warn-unused-configs --check-untyped-defs --warn-redundant-casts --warn-unused-ignores --extra-checks functional
if: always()
- uses: tsuyoshicho/action-mypy@v4
with:
Expand Down
63 changes: 32 additions & 31 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pytest-cov = "^4.0.0"
coverage = "^7.2.5"

[tool.poetry.group.dev.dependencies]
mypy = "^1.1.1"
mypy = "^1.8.0"
types-tabulate = "^0.9.0.3"
pandas-stubs = "^2.0.3.230814"

Expand Down

0 comments on commit 54eafb7

Please sign in to comment.