Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support use on directories #150

Closed
Zac-HD opened this issue May 22, 2019 · 1 comment
Closed

Support use on directories #150

Zac-HD opened this issue May 22, 2019 · 1 comment

Comments

@Zac-HD
Copy link

Zac-HD commented May 22, 2019

In all my uses of pyupgrade, I want to apply it to every Python file in the repo - in general, some directory. pyupgrade $(find . -name '*.py') works OK on *nix systems, but I'd be happier if I could just write pyupgrade . and have it work on Windows too!

Personally I'd prefer to follow Black and flake8 (etc) by having recursive-by-default for directories, but if not a -r/--recursive flag is also fairly common.

@asottile
Copy link
Owner

Repository owner locked as resolved and limited conversation to collaborators Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants