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

Add --ignore-multiline-regex option. #3476

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

julian-smith-artifex-com
Copy link
Contributor

Allows exclusion of multiline regions. Matching regions are replaced with blank lines.

This would allow codespell to be used with PyMuPDF, where we have many multi-line strings within Python test scripts that need to be excluded.

This is a second PR for these changes; tests now pass.

Allows exclusion of multiline regions. Matching regions are replaced with blank
lines.
@julian-smith-artifex-com
Copy link
Contributor Author

Could someone approve the above workflows so we can check this PR is passing tests? Thanks.

@larsoner
Copy link
Member

larsoner commented Jul 4, 2024

Done

@julian-smith-artifex-com
Copy link
Contributor Author

Done

Thanks, looks like everything is passing.

Is there anything i can do to get this PR approved or modified or rejected?

@larsoner
Copy link
Member

larsoner commented Jul 8, 2024

Nice, seems to be well documented, let's give it a shot and fix it if people run into issues. Thanks @julian-smith-artifex-com !

@larsoner larsoner merged commit f3d85db into codespell-project:master Jul 8, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants