pycodestyle-action icon indicating copy to clipboard operation
pycodestyle-action copied to clipboard

option for ignoring some errors

Open TranKovak opened this issue 6 years ago • 2 comments

Is it possible to add an option for example a list of error code, that the action will ignore ?

for example, for some personal reason I want to ignore the E501 error (line toot long), or I have that one script that should not crash and I have a except: that is ugly and give me a E722 but I can't get rid of it. the second example is bad but it's just an example. I'm mostly concern about E501.

TranKovak avatar Sep 30 '19 10:09 TranKovak

I'd be cool for adding that, we could pass it through the workflow file. The syntax would look something like:

with:
  ignores: [E501, E722]

andymckay avatar Nov 29 '19 21:11 andymckay

souksakhon avatar Mar 29 '20 06:03 souksakhon