Skip to content
Discussion options

You must be logged in to vote

Sorry to "send you back" (I will file the issue for that) but this is an upstream issue with flake8😅

Cause

I did a quick test and the problem is with the spaces in the path, since flake8 allows you to define a list of files as well as a list of errors codes for per-file-ignores which might be separated with commas or white spaces or a mix of them.

[flake8_nb]
per-file-ignores =
    ; Single file and single error code
    file1.py:E231
    ; Single file and multiple error codes
    file1.py:E231,F401
    ; Multiple files and single error code
    file1.py file2.py:E231
    ; The following are all equivalent, for multiple files and multiple error code
    file1.py file2.py:E231,E401
    fil…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by s-weigand
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
wontfix This will not be worked on
2 participants
Converted from issue

This discussion was converted from issue #190 on August 15, 2022 19:16.