Skip to content

issues Search Results · repo:asottile/add-trailing-comma language:Python

Filter by

61 results
 (58 ms)

61 results

inasottile/add-trailing-comma (press backspace or delete to remove)

Hey! Nice project, do you mind if I turn it into a GitHub action?
  • gtkacz
  • 1
  • Opened 
    on Feb 25
  • #295

Version: 3.1.0 Here is the diff - print(f {len(binance_futures_bars_1m) = } ) + print(f {len(binance_futures_bars_1m) =} )
  • pohmelie
  • 5
  • Opened 
    on Jun 17, 2024
  • #276

Hi, I m trying to run this as a pre-commit hook together with autopep8. My config is defined as: exclude: ^(runs|.venv|.vscode|checkpoints) repos: - repo: https://github.com/pre-commit/pre-commit-hooks ...
  • LeonEricsson
  • 2
  • Opened 
    on Apr 26, 2024
  • #271

This str_1 = {{}} str_2 = f {{}} gets formatted to str_1 = {{}} str_2 = f {}} which is no longer valid python code. Testing further, if anything is inside the escaped brackets the tool raises ...
  • fayyazul-centaurlabs
  • 3
  • Opened 
    on Feb 6, 2024
  • #265

I would like to use this tool as a linter in my CI/CD pipelines. To that end, I would like to use an official docker image from your side instead of creating my own or installing the tool on each run. ...
  • Bengt
  • 3
  • Opened 
    on Jan 4, 2024
  • #263

like the title says, how to use it? i think it s more important than how to install
  • abdullzz
  • 1
  • Opened 
    on Dec 1, 2023
  • #261

Including a couple of diffs after running the add-trailing-comma hook. This makes sense to me: widen = Widen( access_token=WIDEN_ACCESS_TOKEN, retries_after_server_error=WIDEN_RETRIES_AFTER_SERVER_ERROR, ...
  • striveforbest
  • 3
  • Opened 
    on Nov 16, 2023
  • #259

I d like to add trailing commas even for functions where all the arguments are on a single line like this: def a(b): return b Would you consider a PR that adds the flag --always-add-comma-to-arglists? ...
  • endrebak
  • 1
  • Opened 
    on Jul 24, 2023
  • #243

As title says. Readme still mentions using --py35-plus and --py36-plus without at least warning that they do nothing in 3.0.0
  • Avasam
  • Opened 
    on Jul 21, 2023
  • #241

I have a large Django project with auto-generated migrations. Ignoring the migrations files in my pre-commit task for adding trailing commas would be nice since I m not particularly concerned about the ...
  • brylie
  • 1
  • Opened 
    on Jul 8, 2023
  • #239
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub