asottile/pyupgrade

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

Pythonpythonlinterpre-commit
This is stars and forks stats for /asottile/pyupgrade repository. As of 12 May, 2024 this repository has 2861 stars and 167 forks.

pyupgrade A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. Installation pip install pyupgrade As a pre-commit hook See pre-commit for instructions Sample .pre-commit-config.yaml: - repo: https://github.com/asottile/pyupgrade rev: v3.15.0 hooks: - id: pyupgrade Implemented features Set literals -set(()) +set() -set([]) +set() -set((1,)) +{1} -set((1, 2)) +{1, 2} -set([1, 2]) +{1, 2} -set(x for x in y) +{x for x in y} -set([x for x in...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
rafaelvleite/centipawn_loss_calculatorPython520250
prometheus/client_pythonPython3.6k07810
HobbitLong/SupContrastPython2.6k04720
LibrePhotos/librephotosPythonShell5.9k02560
mozilla/uniffi-rsRustPythonKotlin1.9k01550
sbt/sbt-native-packagerScalaShellPython1.6k04420
NoahZinsmeister/ProveItSolidityJavaScriptPython580120
he4rt/he4rtoberfest-2022JavaJavaScriptGo27202170
Oldes/Starling-timeline-exampleActionScriptRJavaScript6040
rsyslog/rsyslogCShellJavaScript1.9k06260