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

run (parts of) pyupgrade to fix invalid escape sequences #2747

Merged
merged 1 commit into from Jul 20, 2021
Merged

run (parts of) pyupgrade to fix invalid escape sequences #2747

merged 1 commit into from Jul 20, 2021

Conversation

asottile
Copy link
Contributor

pyupgrade

Resolves #2378

this also had the side-effect of fixing some extraneous parens and whitespace -- let me know if you'd like those separated out

@iliakur
Copy link
Contributor

iliakur commented Jul 19, 2021

Interesting, this could be also a good precursor step to introducing pre-commit hooks.

First time I see pyupgrade used on a codebase, looks reassuring :)

@asottile
Copy link
Contributor Author

ahah well I created pre-commit.com and pre-commit.ci -- happy to help with any integration details

@stevenbird stevenbird merged commit 447ae50 into nltk:develop Jul 20, 2021
@stevenbird
Copy link
Member

Great, thanks @asottile!

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

Successfully merging this pull request may close these issues.

Update various regex escape sequences
3 participants