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#51

Merged
asottile merged 1 commit intopre-commit:mainfrom
Pierre-Sassoulas:patch-2
Dec 7, 2023
Merged

Remove the --list-different option for 4.0.0 compatibility#51
asottile merged 1 commit intopre-commit:mainfrom
Pierre-Sassoulas:patch-2

Conversation

@Pierre-Sassoulas
Copy link
Copy Markdown
Contributor

Follow-up to #50.

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.
Copy link
Copy Markdown
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile asottile merged commit 409483b into pre-commit:main Dec 7, 2023
@asottile
Copy link
Copy Markdown
Member

asottile commented Dec 7, 2023

rev: v4.0.0-alpha.3-1 if you need it

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.

3 participants