Skip to content

Commit

Permalink
Update mypy options.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Apr 6, 2024
1 parent ae461c9 commit 14fde43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Run mypy
run: |
mypy --ignore-missing-imports --install-types --non-interactive --strict
mypy --follow-imports="skip" --install-types --non-interactive --strict
- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ exclude = '''

[tool.mypy]
files = ["fontbro"]
ignore_missing_imports = true
follow_imports = "skip"
install_types = true
non_interactive = true
strict = true
Expand Down
6 changes: 3 additions & 3 deletions test-coverage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

mypy fontbro --install-types --non-interactive --strict
mypy fontbro --follow-imports="skip" --install-types --non-interactive --strict
coverage erase
coverage run --append --show-missing unittest discover
coverage report -m
coverage run --append --source=fontbro -m unittest
coverage report -m --show-missing --ignore-errors
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ deps =

commands =
pre-commit run -a
mypy --ignore-missing-imports --install-types --non-interactive --strict
mypy --follow-imports="skip" --install-types --non-interactive --strict
coverage run --append --source=fontbro -m unittest
coverage report --show-missing --ignore-errors

0 comments on commit 14fde43

Please sign in to comment.