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-0.10.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

fourmat-0.10.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file fourmat-0.10.0.tar.gz.

File metadata

  • Download URL: fourmat-0.10.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.0

File hashes

Hashes for fourmat-0.10.0.tar.gz
Algorithm Hash digest
SHA256 390397199df5a490006f07a9b33bd3c7d830936a39ea0c652cef9ac0c5db10d3
MD5 83f7c8dd3bbf02261379126b81b7a7b5
BLAKE2b-256 63d5368b948cee078e9713fb8d214d46089cac3d65f7369454e33ba4f794c6e0

See more details on using hashes here.

File details

Details for the file fourmat-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: fourmat-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.0

File hashes

Hashes for fourmat-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9256ef821d0001a04ab4c1e7a3bd7db7b8a4d0321bed2e52fd6b899f1d8a356c
MD5 6797d0e1951307e9a8b058c16d2bf778
BLAKE2b-256 c75961d7111d51fcdf94064947d3e20bc383e88ab7a1540754a50013a89e6337

See more details on using hashes here.

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