Skip to main content

A library for batteries-included linting and autoformatting

Project description

Fourmat

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fourmat-1.0.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

fourmat-1.0.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page