( )⚙ D7766 cleanup: drop redundant character escapes from `[]` character sets

This is an archive of the discontinued Mercurial Phabricator instance.

cleanup: drop redundant character escapes from `[]` character sets
ClosedPublic

Authored by mharbison72 on Dec 28 2019, 11:42 AM.

Details

Summary

Flagged by PyCharm. Most special characters lose their special meaning inside
square brackets. The - in util.py doesn't need to be escaped because it is
the last character in the set.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

mharbison72 created this revision.Dec 28 2019, 11:42 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.