Skip to content

Conversation

@kimbyungnam
Copy link

Description

According to CONTRIBUTING.md, new contributions must pass pylint checks.
The .pylintrc file, however, has not been updated in about eight years and still contains
options that are no longer supported or used in recent pylint releases.

This PR refreshes the pylint configuration to align with current pylint behavior
and remove legacy settings that no longer have any effect.


Changes

  • Removed deprecated or unsupported options:
    • profile, files-output, comment, required-attributes,
      no-space-check, zope, and ignore-iface-methods.
  • Removed reference to pylint_plugins.mutablerecords_plugin, which was deleted in commit Branches #960.
  • Migrated bad-functions handling to the pylint.extensions.bad_builtin plugin.
  • Updated overgeneral-exceptions to use fully-qualified builtins.Exception.

- Drop unsupported pylint options (profile, files-output, comment, required-attributes, no-space-check, zope, ignore-iface-methods) that are deprecated or removed.
- Remove reference to pylint_plugins.mutablerecords_plugin (deleted in commit google#960).
- Migrate bad-functions setting into pylint.extensions.bad_builtin plugin.
- Update overgeneral-exceptions to fully qualified builtins.Exception.

Align .pylintrc with current pylint conventions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant