[
https://issues.apache.org/jira/browse/DISPATCH-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiri Daněk updated DISPATCH-1974:
---------------------------------
Description:
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}
was:
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}
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]