ValueError: Error code 'I2041' supplied to 'ignore' option does not match '^[A-Z]{1,3}[0-9]{0,3}$'
ValueError: Error code 'I2041' supplied to 'ignore' option does not match '^[A-Z]{1,3}[0-9]{0,3}$' Question: Upon importing this flake8 plugin flake8-import-restrictions==1.1.1, I’ve notice this error appeared. I tried ignoring it by adding it to my setup.cfg file ignore option as shown below. [isort] force_single_line=True ensure_newline_before_comments = True single_line_exclusions=[] line_length = 100 src_paths = myproject,tests skip= .gitignore, .env …