tfx icon indicating copy to clipboard operation
tfx copied to clipboard

modernize pylintrc

Open japm48 opened this issue 3 years ago • 2 comments

This should remove most of the issues reported by the message:

pylintrc:1:0: E0015: Unrecognized option found: ....

The google section at the end is left untouched. Some of the options have been long deprecated (going back to 2010) and some were not even found in the pylint codebase, so I assume those are also safe to remove.

Removed option list:

  • cache-size: https://github.com/PyCQA/pylint/commit/be5996b93d2e2674566fa186af78bf5029b0b9d8
  • profile: https://github.com/PyCQA/pylint/commit/de84bd3d01dd5581e877c9e9d58f32308e67a847
  • files-output: https://github.com/PyCQA/pylint/commit/36ed45346ab4d26814a3cffd9a2736f1fff2a40d
  • comment: https://github.com/PyCQA/pylint/commit/de84bd3d01dd5581e877c9e9d58f32308e67a847
  • zope: https://github.com/PyCQA/pylint/commit/59d73c408d8cd43bf565a0fc20bc67fdc26cf441
  • module-attribute, required-attributes: https://github.com/PyCQA/pylint/commit/1b1359a9606d52c4c2d76a6977d3e68f6a5f4a9c
  • no-space-check: https://pylint.pycqa.org/en/latest/whatsnew/2/2.6/full.html?highlight=no-space-check#what-s-new-in-pylint-2-6-0
  • ignore-iface-methods: https://pylint.pycqa.org/en/latest/whatsnew/1/1.7/summary.html?highlight=ignore-iface-methods#removed-changes
  • short-func-length: never existed?
  • deprecated-members: never existed?

Some functionalities were moved to plugins, in particular pylint.extensions.bad_builtin is enabled to allow using bad-functions.

Note that a clean modern default pylintrc file could be generated via pylint --generate-rcfile.

japm48 avatar Aug 03 '22 14:08 japm48

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Oct 08 '22 02:10 github-actions[bot]

Oops, forgot to post a comment. Can someone reopen this?

japm48 avatar Oct 15 '22 03:10 japm48

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Nov 16 '22 02:11 github-actions[bot]

Bumping to remove stale status. I'll rebase to master ASAP

japm48 avatar Nov 16 '22 09:11 japm48

Hi @1025KB Can you please review this PR ? Thank you!

gbaned avatar Nov 24 '22 23:11 gbaned