Skip to content

Commit

Permalink
prepare for future mypy release and enable --local-partial-types now
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Oct 8, 2024
1 parent 15c8467 commit afc644e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cwl_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

fast_yaml = YAML(typ="safe")

_USERNS = None
_USERNS: Optional[bool] = None


def _is_github_symbolic_link(base_url: urllib.parse.ParseResult, contents: str) -> bool:
Expand Down
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ show_column_numbers = true
show_error_codes = true
pretty = true
strict = true
local_partial_types = true
[mypy-ruamel.*]
ignore_errors = True

0 comments on commit afc644e

Please sign in to comment.