hundreds-father-404
04/06/2021, 6:42 AM--ignore-pants-warnings expects regex patterns, which can result in surprising behavior like
The optionnot actually ignoring that warning due tois not configured[isort].config
[] not being escaped.
Are folks using the regex feature? I'd like to simplify with a new option --ignore-warnings that is normal strings, and deprecate the old one.hundreds-father-404
04/06/2021, 6:44 AM'foo' instead of "foo", but then we get [WARN] <string>:1: DeprecationWarning: invalid escape sequence \[ with \[foo\]
The library hasn't been updated since October 2020, and tomlkit isn't great either, so I don't think us fixing upstream is super realistic
Instead, we can circumvent by not getting fancy with regexhundreds-father-404
04/06/2021, 3:33 PMprefix the string with 'regexp: '
hundreds-father-404
04/06/2021, 5:08 PM