issues
search
asottile
/
pyupgrade
A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
MIT License
3.46k
stars
177
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Ability to restrict changes to a specific type?
#963
lightswitch05
closed
2 weeks ago
5
`Generator` type annotation wrongly shortened
#962
david-zwicker
closed
2 weeks ago
5
What's the rationale for the rewrite of unpacked list comprehensions
#961
sk-
opened
2 weeks ago
0
Convert `__anext__` calls on Python 3.10+
#960
DarkLight1337
opened
2 weeks ago
0
[pre-commit.ci] pre-commit autoupdate
#959
pre-commit-ci[bot]
closed
2 weeks ago
0
Changelog?
#958
harmstyler
closed
3 weeks ago
1
Weird behaviour of multi-line using triple quotes notation f-string containing emoji
#957
mboutet
closed
3 weeks ago
1
Add `--py313-plus` flag
#956
hugovk
closed
4 weeks ago
1
[pre-commit.ci] pre-commit autoupdate
#955
pre-commit-ci[bot]
closed
4 weeks ago
0
[Bug?] Infinite rewriting of newlines
#954
alvations
closed
1 month ago
4
[pre-commit.ci] pre-commit autoupdate
#953
pre-commit-ci[bot]
closed
1 month ago
0
`python-no-eval` invalid for pytorch models
#952
Mahdi-Hosseinali
closed
2 months ago
2
[pre-commit.ci] pre-commit autoupdate
#951
pre-commit-ci[bot]
closed
2 months ago
0
[pre-commit.ci] pre-commit autoupdate
#950
pre-commit-ci[bot]
closed
2 months ago
0
pyupgrade 3.16.0 improperly breaks on emoji/formatted multiline string
#949
hemanthkini
closed
2 months ago
2
rewrite TypeVar defaults for Generator / AsyncGenerator
#948
asottile
closed
4 weeks ago
1
remove support for python 3.8
#947
asottile
closed
2 months ago
0
Regenerate typing import replacements using latest reorder-python-imports
#946
AlexWaygood
closed
2 months ago
0
[pre-commit.ci] pre-commit autoupdate
#945
pre-commit-ci[bot]
closed
2 months ago
0
--help not very helpful
#944
jalanb
closed
3 months ago
1
[pre-commit.ci] pre-commit autoupdate
#943
pre-commit-ci[bot]
closed
3 months ago
0
[pre-commit.ci] pre-commit autoupdate
#942
pre-commit-ci[bot]
closed
3 months ago
0
[pre-commit.ci] pre-commit autoupdate
#941
pre-commit-ci[bot]
closed
4 months ago
0
Add config file support
#940
chrisbouchard
closed
4 months ago
2
only replace to shlex.join if joined with a space
#939
asottile
closed
5 months ago
0
Improve documentation of supported arguments
#938
WoosterInitiative
closed
5 months ago
5
[pre-commit.ci] pre-commit autoupdate
#937
pre-commit-ci[bot]
closed
5 months ago
0
"".join(shlex.quote(...) ...) to shlex.join(...) is too eager
#936
Redoubts
closed
5 months ago
1
[pre-commit.ci] pre-commit autoupdate
#935
pre-commit-ci[bot]
closed
5 months ago
0
Don't replace string type annotations when module is only imported with TYPE_CHECKING
#934
david-zwicker
closed
5 months ago
2
handle constant folding with comments on multilines better
#933
asottile
closed
6 months ago
0
multi-line exception with duplicate BaseException and comments gives invalid code
#932
jakkdl
closed
6 months ago
0
if sys.version_info blocks without an else get rewritten via the pre-commit hook
#931
jvavrek
closed
6 months ago
7
Read-only mode
#930
opk12
closed
6 months ago
1
Add a documentation ?
#929
AlexandreGazagnes
closed
6 months ago
1
Remove imports for pep 585
#928
Ezibenroc
closed
6 months ago
1
[pre-commit.ci] pre-commit autoupdate
#927
pre-commit-ci[bot]
closed
7 months ago
0
[pre-commit.ci] pre-commit autoupdate
#926
pre-commit-ci[bot]
closed
8 months ago
0
type error when change "Union" operator to "|" operator
#925
MSafariyan
closed
8 months ago
1
type error when change Union operator to "| operator
#924
MSafariyan
closed
8 months ago
0
Formatting bug? Triple-quote changed to 2x triple-quote
#923
mpasternak
closed
8 months ago
10
Is there a python API to call pyupgrade?
#922
dazza-codes
closed
8 months ago
2
Check for "import imp" and replace with import importlib as imp?
#921
jkary
closed
9 months ago
1
[pre-commit.ci] pre-commit autoupdate
#920
pre-commit-ci[bot]
closed
9 months ago
0
How to check the version of `pyupgrade`?
#919
rafrafek
closed
9 months ago
2
Recognize and replace `if sys.version_info[0]` blocks
#918
EwoutH
opened
9 months ago
4
Rewriting to `yield from` may introduce type errors when using pyright
#917
Popkornium18
closed
9 months ago
2
[pre-commit.ci] pre-commit autoupdate
#916
pre-commit-ci[bot]
closed
9 months ago
0
Automatically remove try-except blocks.
#915
EwoutH
closed
2 months ago
3
Python 3.12 Generics
#914
jack-tutor
closed
9 months ago
6
Next