Skip to content

Commit

Permalink
Fixes #98. Linting. Moved mypy command line arguments to the mypy.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
markfinal committed Jul 15, 2023
1 parent be26dab commit 9d01028
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ strict_concatenate = True
strict_equality = True
strict = True

# error messages
show_error_context = True
show_column_numbers = True
hide_error_codes = False
pretty = True
color_output = True
error_summary = True
show_absolute_path = True

# Temporarily disabling this error code, as PySide6 .pyi files do not expose signals
# see https://bugreports.qt.io/browse/PYSIDE-1603
# that issue is closed, but stubs remain a problem, although some are resolved with
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ deps =
lint: -r{toxinidir}/requirements.txt
commands =
lint: flake8 cruiz
lint: mypy --pretty --show-error-codes --install-types --non-interactive --show-absolute-path cruiz
lint: mypy --install-types --non-interactive cruiz

0 comments on commit 9d01028

Please sign in to comment.