File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,22 +28,22 @@ Sample `.pre-commit-config.yaml`:
2828
2929## Options
3030
31- - ` --exit-zero-even-if-changed`
31+ - ` --exit-zero-even-if-changed`
3232 Exit with status code 0 even if files were/would be modified.
3333
34- - ` --keep-percent-format`
34+ - ` --keep-percent-format`
3535 Keep `%` formatting instead of converting to `.format()` or f-strings.
3636
37- - ` --keep-mock`
37+ - ` --keep-mock`
3838 Don’t rewrite `mock` imports to `unittest.mock`.
3939
40- - ` --keep-runtime-typing`
40+ - ` --keep-runtime-typing`
4141 Keep older `typing` imports (e.g. `List`, `Optional`) even if newer syntax is available.
4242
43- - ` --check`
43+ - ` --check`
4444 Show files that would be changed, but don’t modify them.
4545
46- Use a `--pyXY-plus` flag to specify the minimum supported Python version (e.g., `--py36-plus`, `--py310-plus`).
46+ Use a `--pyXY-plus` flag to specify the minimum supported Python version (e.g., `--py36-plus`, `--py310-plus`).
4747This determines which syntax upgrades are applied.
4848
4949By default, pyupgrade assumes Python 3.0+ (`--py3-plus`).
You can’t perform that action at this time.
0 commit comments