Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.75 KB

pylint-ignore.md

File metadata and controls

67 lines (47 loc) · 1.75 KB

Pylint-Ignore

WARNING: This file is programmatically generated.

This file is parsed by pylint-ignore to determine which Pylint messages should be ignored.

  • Do not edit this file manually.
  • To update, use pylint-ignore --update-ignorefile

The recommended approach to using pylint-ignore is:

  1. If a message refers to a valid issue, update your code rather than ignoring the message.
  2. If a message should always be ignored (globally), then to do so via the usual pylintrc or setup.cfg files rather than this pylint-ignore.md file.
  3. If a message is a false positive, add a comment of this form to your code: # pylint:disable=<symbol> ; explain why this is a false positive

Overview

W0101: unreachable

File test/test_svgbob.py - Line 266 - W0101 (unreachable)

  • message: Unreachable code
  • author : Manuel Barkhau <[email protected]>
  • date : 2021-07-22T10:24:31
  257: def test_postproc():
  ...
  264:     return
  265: 
> 266:     assert '<svg class="bob"' in html_tag
  267: 
  268:     assert re.search(r"\.bg_fill\s*\{\s*fill:\s*white;", html_tag)

W0511: fixme

File test/test_svgbob.py - Line 262 - W0511 (fixme)

  • message: TODO (mb 2021-07-22): brittle test, perhaps switch to image diff
  • author : Manuel Barkhau <[email protected]>
  • date : 2021-07-22T10:24:31
  257: def test_postproc():
  ...
  260:     html_tag = ext.draw_bob(BASIC_BLOCK_TXT)
  261: 
> 262:     # TODO (mb 2021-07-22): brittle test, perhaps switch to image diff
  263:     #   based testing.
  264:     return