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

format on/off/skip #84

Open
florianfischer91 opened this issue Oct 2, 2022 · 1 comment · May be fixed by #86
Open

format on/off/skip #84

florianfischer91 opened this issue Oct 2, 2022 · 1 comment · May be fixed by #86
Labels
enhancement New feature or request

Comments

@florianfischer91
Copy link

It would be cool to have a smiliar feature like black has to disable/enable or skip reformatting.

Black reformats entire files in place. It doesn’t reformat lines that end with # fmt: skip or blocks that start with # fmt: off and end with # fmt: on.

@sthiele sthiele linked a pull request Oct 3, 2022 that will close this issue
@sthiele
Copy link
Member

sthiele commented Oct 3, 2022

Nice idea! Maybe you have a look at PR #86 where I tried to implement the feature.

@sthiele sthiele added the enhancement New feature or request label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants