tfx
tfx copied to clipboard
modernize pylintrc
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/be5996b93d2e2674566fa186af78bf5029b0b9d8profile: https://github.com/PyCQA/pylint/commit/de84bd3d01dd5581e877c9e9d58f32308e67a847files-output: https://github.com/PyCQA/pylint/commit/36ed45346ab4d26814a3cffd9a2736f1fff2a40dcomment: https://github.com/PyCQA/pylint/commit/de84bd3d01dd5581e877c9e9d58f32308e67a847zope: https://github.com/PyCQA/pylint/commit/59d73c408d8cd43bf565a0fc20bc67fdc26cf441module-attribute,required-attributes: https://github.com/PyCQA/pylint/commit/1b1359a9606d52c4c2d76a6977d3e68f6a5f4a9cno-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-0ignore-iface-methods: https://pylint.pycqa.org/en/latest/whatsnew/1/1.7/summary.html?highlight=ignore-iface-methods#removed-changesshort-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.
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
Oops, forgot to post a comment. Can someone reopen this?
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
Bumping to remove stale status. I'll rebase to master ASAP
Hi @1025KB Can you please review this PR ? Thank you!