c.f.

  • Black for code formatting
  • See here for a discussion on setting up git hooks to keep you honest

In order to run pylint on your entire project, your repository should include an init.py file

Installation

pip install pylint

or if you’re using Poetry then

poetry install
poetry install
poetry add pylint
# then commit changes to  pyproject.toml & poetry.lock

.pylintrc

[MASTER]
jobs=4 #number of processes to use
[BASIC]
good-names=nameOfYourProject #names to be considered ok
[pre-commit-hook]
command=custom_pylint
disable=E0401, C0301

A larger example .pylintrc can be found here.