Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a targeted (named rule) enable to override a module disable #464

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

amyreese
Copy link
Member

This allows the following configuration to work as a way of disabling
all of the builtin rules except for specific ones:

[tool.fixit]
disable = ["fixit.rules"]
enable = ["fixit.rules:UseClsInClassmethod"]

Co-authored-by: surge119 [email protected]

This allows the following configuration to work as a way of disabling
all of the builtin rules except for specific ones:

```
[tool.fixit]
disable = ["fixit.rules"]
enable = ["fixit.rules:UseClsInClassmethod"]
```

Co-authored-by: surge119 <[email protected]>
@amyreese amyreese requested a review from zsol as a code owner June 21, 2024 16:48
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 21, 2024
@amyreese amyreese merged commit 9597c2c into Instagram:main Jun 21, 2024
16 checks passed
@amyreese amyreese deleted the targeted-enable branch June 21, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants