Skip to content

Latest commit

 

History

History
185 lines (134 loc) · 5.05 KB

pylint-ignore.md

File metadata and controls

185 lines (134 loc) · 5.05 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

W0511: fixme

File src/lib3to6/checkers_backports.py - Line 14 - W0511 (fixme)

  • message: TODO (mb 2020-05-28):
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  12: from . import checker_base as cb
  13: 
> 14: # TODO (mb 2020-05-28):
  15: #   instead of functools.singledispatch
  16: #   from singledispatch import singledispatch

File src/lib3to6/packaging.py - Line 37 - W0511 (fixme)

  • message: TODO (mb 2018-06-07): Get options from setup.cfg
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  35: 
  36: def eval_build_config(**kwargs) -> common.BuildConfig:
> 37:     # TODO (mb 2018-06-07): Get options from setup.cfg
  38:     # python_tags = "py2.py3"
  39:     # for argi, arg in enumerate(sys.argv):

File src/lib3to6/packaging.py - Line 109 - W0511 (fixme)

  • message: TODO (mb 2018-08-25): As an optimization, we could
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
   96: def init_build_package_dir(local_package_dir: common.PackageDir) -> common.PackageDir:
  ...
  107:         build_package_subdir = output_dir / src_package_dir
  108: 
> 109:         # TODO (mb 2018-08-25): As an optimization, we could
  110:         #   restrict deletion to files that we manipulate, in
  111:         #   other words, to *.py files.

File src/lib3to6/fixers_import_fallback.py - Line 328 - W0511 (fixme)

  • message: TODO (mb 2018-09-02): Only ImportFrom is permitted for
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  326: 
  327: 
> 328: # TODO (mb 2018-09-02): Only ImportFrom is permitted for
  329: #   certain imports, so that we can determine which old
  330: #   module to import from

W0612: unused-variable

File test/test_fixers.py - Line 58 - W0612 (unused-variable)

  • message: Unused variable 'result_header_text'
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  30: def test_header_preserved():
  ...
  56: 
  57:     ctx = common.init_build_context(filepath="<testfile>")
> 58:     result_header_coding, result_header_text, result_source = utils.transpile_and_dump(
  59:         ctx, test_source
  60:     )

C0103: invalid-name

File src/lib3to6/fixers.py - Line 451 - C0103 (invalid-name)

  • message: Constant name "FStringToStrFormatFixer" doesn't conform to UPPER_CASE naming style
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  367: class NamedTupleClassToAssignFixer(fb.TransformerFixerBase):
  ...
  449:     from .fixers_fstring import FStringToStrFormatFixer
  450: else:
> 451:     FStringToStrFormatFixer = None
  452: 
  453:

File src/lib3to6/fixers.py - Line 457 - C0103 (invalid-name)

  • message: Constant name "NamedExprFixer" doesn't conform to UPPER_CASE naming style
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  367: class NamedTupleClassToAssignFixer(fb.TransformerFixerBase):
  ...
  455:     from .fixers_namedexpr import NamedExprFixer
  456: else:
> 457:     NamedExprFixer = None
  458: 
  459:

C0302: too-many-lines

File test/test_fixers.py - Line 1 - C0302 (too-many-lines)

  • message: Too many lines in module (1260/1000)
  • author : Manuel Barkhau <[email protected]>
  • date : 2021-08-19T21:41:34
> 1: import collections
  2: 
  3: import pytest

R0912: too-many-branches

File src/lib3to6/fixers_unpacking_generalization.py - Line 183 - R0912 (too-many-branches)

  • message: Too many branches (23/12)
  • author : Manuel Barkhau <[email protected]>
  • date : 2020-07-19T19:10:40
  179: class UnpackingGeneralizationsFixer(fb.FixerBase):
  ...
  181:     version_info = common.VersionInfo(apply_since="2.0", apply_until="3.4")
  182: 
> 183:     def expand_starstararg_g12n(self, node: ast.expr) -> ast.expr:
  184:         chain_values: list[ast.expr] = []
  185:         chain_val   : ast.expr