Skip to content

Commit

Permalink
fix submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Dec 7, 2023
1 parent aed5f98 commit e1a8d33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ def test_mypy() -> None:
"""Tests mypy on this module."""
file_path = __file__.replace(f'{__name__}.py', '')
config_file = os.path.join(file_path, '..', '..', '..', '..', 'mypy.ini')
if not os.path.exists(config_file):
config_file = os.path.join(file_path, '..', 'mypy.ini')
error_code = main(argv=['--config', config_file])
assert error_code == 0, 'Found code style errors / warnings'

0 comments on commit e1a8d33

Please sign in to comment.