mbarkhau / pylint-ignore

MIT License
14 stars 8 forks source link

Allow cross-platform sharing of the ignore file. #7

Closed davidsheldon closed 3 years ago

davidsheldon commented 3 years ago

File paths will now be stored with forward-slashes on both windows and linux, so that the file can be shared using version control.

Fixes #6

mbarkhau commented 3 years ago

Have you tested this on windows? I'm surprised if this is the only place that would need to change, but might be. The CI won't catch this either way, because it doesn't test on windows.

davidsheldon commented 3 years ago

Yes, I had tested it on windows (in fact it's the only way I can work with my team at the moment). The only other issue for some people would be the line endings as it writes CRLF on windows, and LF on linux, but git deals with that nicely.