Skip to content

Commit

Permalink
Bump to newest MyPy, run mypy in 3.9 mode, fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysommer committed Nov 1, 2024
1 parent 96ece15 commit c5af68c
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 147 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ endif
.PHONY: type-check
type-check: venvcheck ## Validate with MyPy in check-only mode
ifeq ("$(FilePath)", "")
poetry run python3 -m mypy --ignore-missing-imports pyshacl
poetry run python3 -m mypy --python-version 3.9 --ignore-missing-imports pyshacl
else
poetry run python3 -m mypy --ignore-missing-imports "$(FilePath)"
poetry run python3 -m mypy --python-version 3.9 --ignore-missing-imports "$(FilePath)"
endif

.PHONY: upgrade
Expand Down
165 changes: 40 additions & 125 deletions poetry.lock

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

Loading

0 comments on commit c5af68c

Please sign in to comment.