Plugins

Below are the currently included plugins.

setup.cfg

Checker for the setup.cfg config file.

Example: flake8 configuration.

pyproject.toml

Checker for pyproject.toml.

See also PEP 518.

Example: the Python 3.7 default. There are many other examples in Defaults.

.pre-commit-config.yaml

Checker for the .pre-commit-config.yaml file.

Example: the default pre-commit hooks.

JSON files

Checker for any JSON file.

Add the configurations for the file name you wish to check. Example: the default config for package.json.

Text files

Checker for text files.

To check if some.txt file contains the lines abc and def (in any order):

[["some.txt".contains]]
line = "abc"

[["some.txt".contains]]
line = "def"