Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Escape file names before them passing into MYPY_ERROR_TEMPLATE. #11

Open
mamikonyan opened this issue Apr 26, 2018 · 1 comment
Open

Comments

@mamikonyan
Copy link

Please add a call to re.escape() like so:

MYPY_ERROR_TEMPLATE.format(filename=re.escape(re_filename)),
@ambv
Copy link
Owner

ambv commented Apr 26, 2018

Good call! Could you make a pull request to that effect? I'll happily accept it.

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

No branches or pull requests

2 participants