asottile/add-trailing-comma
A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.
PythonMIT
Issues
- 5
Affects python f-strings
#276 opened by pohmelie - 2
Fail when run together with autopep8
#271 opened by LeonEricsson - 1
escaped brackets in f-string are not parsed properly for python 3.12
#265 opened by fayyazul-centaurlabs - 3
Provide a Docker image
#263 opened by Bengt - 1
needs a readme update
#261 opened by abdullzz - 3
- 0
add trailing commas in PEP 695 type aliases
#231 opened by asottile - 1
- 0
Readme still references `--py35-plus/--py36-plus`
#241 opened by Avasam - 1
Possible to ignore files (e.g., with glob pattern)?
#239 opened by brylie - 1
- 1
An option to disable de-indent of braces
#228 opened by Prometheus3375 - 3
- 0
--py39-plus: multi-with-statements
#116 opened by asottile - 2
Add support for Jupyter notebooks?
#204 opened by cyyc1 - 1
Document compatibility with isort
#198 opened by Avasam - 2
Dict trailing comma
#197 opened by calumy - 3
- 2
- 1
- 2
`AssertionError: Past end?` on match statement
#177 opened by jborman-exos - 3
Configure with pyproject.toml
#171 opened by catcombo - 2
- 7
Not adding trailing comma
#169 opened by merc1031 - 3
Unexpected behaviour in pandas dataframe .loc[]
#159 opened by njiles - 1
Tool may change variables from type `T` to `tuple[T]`
#153 opened by cmyui - 7
- 7
python 3.9.1 assertion error on Windows 10
#123 opened by infinity-plus - 4
Disable change to dangling commas on imports
#122 opened by lynxoid - 3
Multiline string issue
#118 opened by SUNx2YCH - 2
- 2
python3.9 causes assertion error
#106 opened by paulhfischer - 3
Remove all trailing commas?
#102 opened by TylerYep - 4
- 8
RFE: --diff and --recursive
#59 opened by pradyunsg - 2
- 1
- 3
- 4
Even if successful, add-trailing-comma reading from stdin returns 1 as a status code in the shell. Is this the intended behavior?
#83 opened by idgserpro - 0
parens after dedent broken
#79 opened by asottile - 0
warnings when rewriting syntax
#76 opened by asottile - 14
False negative with statement ending with parens
#42 opened by asottile - 0
python3.8: many tests failing
#63 opened by asottile - 2
One more case with parens
#58 opened by smagafurov - 5
Doesn't add trailing commas to imports
#52 opened by sloria - 1
- 1
autopep8-wrapper conflict
#48 opened by domanchi - 1
- 2
Is it possible to disable whitespace editing?
#45 opened by srcreigh - 3
Unable to run against all files
#37 opened by nficano