sourcery-ai / sourcery

Instant AI code reviews
https://sourcery.ai
MIT License
1.5k stars 65 forks source link

sourcery review --fix does not work on directories. #384

Closed rob101 closed 9 months ago

rob101 commented 10 months ago

Checklist

Description

When running sourcery review -fix [dirname] sourcery will identify the number of files but fail to lint or provide any fixes.

When running sourcery review -fix [filename] it applies fixes as expected.

Debug Information

IDE Version: Terminal

Sourcery Version: Latest

Operating system and Version: Windows 11

ruancomelli commented 10 months ago

Hello, @rob101! Thanks for reaching out.

Unfortunately, I am unable to reproduce this issue. The command sourcery review --fix [path] works correctly even if path is a directory (I tested it with the sourcery --version 1.8.0).

Can you please share your Sourcery log file with support@sourcery.ai for me to further look into this issue?

Hellebore commented 9 months ago

Closing for now - please reopen if we get more details