[ 
https://issues.apache.org/jira/browse/DISPATCH-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483849#comment-17483849
 ] 

ASF subversion and git services commented on DISPATCH-1974:
-----------------------------------------------------------

Commit d8a1f40ebdf198f798745678c78e99d045e3aa74 in qpid-dispatch's branch 
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=d8a1f40 ]

DISPATCH-1974 Add pylint checker with suppressions (#1503)

resolves #1503


> Fix and remove ignores in flake8 configuration
> ----------------------------------------------
>
>                 Key: DISPATCH-1974
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1974
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Priority: Major
>             Fix For: Backlog
>
>
> Fixes with autopep8 in DISPATCH-1814 resolved many flake8 warnings. There are 
> still warnings left that require human consideration and fixing.
> For example, usage of bare {{except}} in the code.
> This must be fixed manually. Fixed issues should then be removed from the 
> tox.ini flake8 ignore section.
> h3. List of "useful" suppressed warnings
> {code}
>     # H101: Use TODO(NAME)
>     # H202: assertRaises Exception too broad
>     # E722: do not use bare 'except'
>     # H201: no 'except:' at least use 'except Exception:'
>     # F811: redefinition of unused 'Timeout' from line 29
>     # F405: may be undefined, or defined from star imports: datetime
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to