A library for batteries-included linting and autoformatting.
Install fourmat through pip:
$ pip install fourmatCreate a .fourmat file to specify the directories and files to check.
$ fourmat check
$ fourmat fixInstall the pre-commit package:
$ pip install pre-commitCreate a .pre-commit-config.yaml containing:
repos:
- repo: https://github.com/4Catalyzer/fourmat
rev: master # or specify a version
hooks:
- id: fourmatthen install the hook:
$ pre-commit install