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

[Feature Request]: Add pyupgrade pre-commit hook. #26303

Closed
Sai-Suraj-27 opened this issue Sep 29, 2023 · 0 comments · Fixed by #26305
Closed

[Feature Request]: Add pyupgrade pre-commit hook. #26303

Sai-Suraj-27 opened this issue Sep 29, 2023 · 0 comments · Fixed by #26305

Comments

@Sai-Suraj-27
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I found that the pyupgrade check is very common (recommended) and used in many of the big Python based organizations including flask, tablib, pandas, etc. So, it will be nice to have it in our codebase.

Benefits
A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.

Describe the solution you'd like
The solution would be to update the .pre-commit-config.yaml file by adding this check. Similar to the checks I introduced in this Pull Request.

Describe alternatives you've considered

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant