Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
/ fourmat Public archive
forked from 4Catalyzer/fourmat

Flake8 + Black + isort = ❤️

License

Notifications You must be signed in to change notification settings

tesseracthealth/fourmat

 
 

Repository files navigation

Fourmat

(Tesseract-specific fork that ignores Cython files) A library for batteries-included linting and autoformatting.

Installation and Usage

Install fourmat through pip:

$ pip install fourmat

Create a .fourmat file to specify the directories and files to check.

$ fourmat check

$ fourmat fix

Adding Fourmat as a pre-commit hook

Install the pre-commit package:

$ pip install pre-commit

Create a .pre-commit-config.yaml containing:

repos:
- repo: https://github.com/4Catalyzer/fourmat
  rev: master  # or specify a version
  hooks:
    - id: fourmat

then install the hook:

$ pre-commit install

About

Flake8 + Black + isort = ❤️

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%