Skip to content

Commit

Permalink
build: Update mypy configuration (GridTools#1505)
Browse files Browse the repository at this point in the history
Minor fixes in wrong mypy settings.
  • Loading branch information
egparedes authored Mar 20, 2024
1 parent be3728b commit 879c836
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
10 changes: 0 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,5 @@ repos:
build/.* |
ci/.* |
docs/.* |
tests/conftest.py |
tests/cartesian_tests/.* |
tests/next_tests/unit_tests/.* |
tests/next_tests/integration_tests/multi_feature_tests/.* |
tests/next_tests/integration_tests/feature_tests/ffront_tests/.* |
tests/next_tests/integration_tests/feature_tests/iterator_tests/.* |
tests/next_tests/integration_tests/feature_tests/otf_tests/.* |
tests/next_tests/integration_tests/feature_tests/math_builtin_test_data.py |
tests/next_tests/past_common_fixtures.py |
tests/next_tests/toy_connectivity.py |
tests/.*
)$
21 changes: 6 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,25 +122,16 @@ source_pkgs = ['gt4py']
disallow_incomplete_defs = true
exclude = [
'^setup\.py$',
'^build/.*py$',
'^ci/*.py$',
'^tests/cartesian_tests/*.py$',
'^tests/storage_tests/*.py$',
'^tests/eve_tests/*.py$',
'^tests/next_tests/unit_tests/*.py$',
'^tests/next_tests/integration_tests/multi_feature_tests/*.py$',
'^tests/next_tests/integration_tests/feature_tests/ffront_tests/*.py$',
'^tests/next_tests/integration_tests/feature_tests/iterator_tests/*.py$',
'^tests/next_tests/integration_tests/feature_tests/otf_tests/*.py$',
'^tests/next_tests/integration_tests/feature_tests/math_builtin_test_data.py$',
'^tests/next_tests/past_common_fixtures.py$',
'^tests/next_tests/toy_connectivity.py$'
'build/.*$',
'ci/*.$',
'docs/.*$',
'tests/.*$'
]
ignore_missing_imports = true
implicit_optional = false
implicit_reexport = false
install_types = true
namespace_packages = false
no_implicit_optional = true
no_implicit_reexport = true
# pretty = true
show_column_numbers = true
show_error_codes = true
Expand Down

0 comments on commit 879c836

Please sign in to comment.