mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Show error codes when running mypy
E.g. this error: ``` lib/galaxy/tool_util/cwl/schema.py:38: error: "LoadingContext" has no attribute "relax_path_checks" ``` becomes ``` lib/galaxy/tool_util/cwl/schema.py:38: error: "LoadingContext" has no attribute "relax_path_checks" [attr-defined] ``` making it easier to Google for solutions or to add a `# type: ignore[error-code]` comment.
This commit is contained in:
Reference in New Issue
Block a user