You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't use official isort GitHub action, use command line interface, e.g:
steps:
- name: Lint imports with isort
# No modifications; exit with error if the code is not properly formatted; show diffs
run: isort . --check-only --diff
Docs: https://pycqa.github.io/isort/docs/configuration/github_action.html and https://github.com/isort/isort-action/blob/master/README.md say:
Expected behaviour:
Output including diffs, similar to what I get running
isort --check-only --diff .
at CLI, e.g.Actual behaviour:
Output does not include diffs. Extract from GitHub actions log. Note
--diff
does appear:i.e. similar to output I get on running without the
--diff
flag at CLI:Please let me know if any extra information is required.
The text was updated successfully, but these errors were encountered: