Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Remove the --list-different option for 4.0.0 compatibility#50

Closed
Pierre-Sassoulas wants to merge 1 commit intopre-commit:mainfrom
Pierre-Sassoulas:patch-1
Closed

Remove the --list-different option for 4.0.0 compatibility#50
Pierre-Sassoulas wants to merge 1 commit intopre-commit:mainfrom
Pierre-Sassoulas:patch-1

Conversation

@Pierre-Sassoulas
Copy link
Copy Markdown
Contributor

@Pierre-Sassoulas Pierre-Sassoulas commented Dec 4, 2023

When using v4.0.0alpha3 we now encounter the following error:

The "--list-different" and "--write" flags cannot be used together

pre-commit fails when a file is modified by an autofixxer so --list-different can be removed afaiu.

When using ``v4.0.0alpha3`` we now encounter the following error:

```
The "--list-different" and "--write" flags cannot be used together
```

``pre-commit`` fails when a file is modified by an autofixxer so ``-list-different`` can be removed afaiu.
@asottile
Copy link
Copy Markdown
Member

asottile commented Dec 4, 2023

this file is generated -- you need to edit the place it is generated from not here as it will just get overwritten

@asottile asottile closed this Dec 4, 2023
@Pierre-Sassoulas
Copy link
Copy Markdown
Contributor Author

Any tips regarding where it's generated ? :) it doesn't seems like there's generating code in this repo ?

@asottile
Copy link
Copy Markdown
Member

asottile commented Dec 4, 2023

try git grep

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants