[GRASS-git] [OSGeo/grass] b441de: Add Pylint check for the main directory (#2213)

Vaclav Petras noreply at github.com
Wed Feb 16 12:21:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: b441deb6f73f857e981fee373e9eb4fc519ddc9c
      https://github.com/OSGeo/grass/commit/b441deb6f73f857e981fee373e9eb4fc519ddc9c
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M .github/workflows/pylint.yml
    A .pylintrc

  Log Message:
  -----------
  Add Pylint check for the main directory (#2213)

This aims at running Pylint on all other files except for python/grass and gui/wxpython. Checking all files in a project is hard to do with Pylint, but pytest pylint plugin can do the job.

Many messages are disabled and complexity and similarity limits are raised. Tests in testsuite directories and some additional directories such as doc or utils are ignored. Files with a lot of issues which are unique to them are ignored explicitly.

The Pylint config is in the main dir, but checks only the 'other' files, not the grass package and wxGUI.




More information about the grass-commit mailing list