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

Support: Ignore a specific word in a specific line #3207

Closed
buhtz opened this issue Nov 11, 2023 · 1 comment
Closed

Support: Ignore a specific word in a specific line #3207

buhtz opened this issue Nov 11, 2023 · 1 comment

Comments

@buhtz
Copy link

buhtz commented Nov 11, 2023

Hello,
sorry for asking this way but I couldn't find another "support channel".

Please this example:

self.re_include_exclude = re.compile(r'(--(?:ex|in)clude=")(.*?)(")')
                                                   ^^^^^

Of course codespell tell me this as an error. No problem with that.
I could use --ignore-word=clude. But I don't want to use that because its effect is globally.

I would like to ignore this word only in this line. Is there a way?
From python linters I know # noqa comment for example to deactivate linting for a specific line.

@buhtz
Copy link
Author

buhtz commented Nov 11, 2023

Duplicate of #1212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants