Skip to content

Conversation

pranlawate
Copy link
Contributor

When files are skipped, isort now displays their absolute paths in verbose mode, consistent with the "Fixing" messages. This improves debugging by making it clear which files are being skipped.

Changes:

  • isort/main.py:1178 - Convert file_name to absolute path before appending
  • isort/files.py:24 - Use full_path instead of just dirname
  • isort/files.py:35 - Use absolute filepath instead of just filename

Fixes #2412

When files are skipped, isort now displays their absolute paths in verbose
mode, consistent with the "Fixing" messages. This improves debugging by
making it clear which files are being skipped.

Changes:
- isort/main.py:1178 - Convert file_name to absolute path before appending
- isort/files.py:24 - Use full_path instead of just dirname
- isort/files.py:35 - Use absolute filepath instead of just filename

Fixes PyCQA#2412

Signed-off-by: Pranav Lawate <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--verbose does not show full path to skipped file
1 participant