Skip to content

Migrate pylint configurations from .pylintrc to pyproject.toml #1740

@seisman

Description

@seisman

Description of the desired feature

The pylint configuration file .pylintrc was added since the start of the project (#73), and was sometimes updated/refreshed to fit new pylint versions (e.g., #484).

I feel the current .pylintrc file is difficult to read and maintain, because:

  1. The file is too long (611 lines) and large (18.3 Kb)
  2. It contains too many settings and many of them are the same as pylint's default settings

pylint started to support pyproject.toml file since v2.5.0. I think we can remove the .pylintrc file and only keep the PyGMT-specific pylint settings in the pyproject.toml file. I'm not sure the number of PyGMT-specific settings but I expect the number is very small (less than 10).

Are you willing to help implement and maintain this feature? Yes, but discuss first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceBoring but important stuff for the core devs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions