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

Uploaded Source

Built Distribution

fourmat-0.4.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fourmat-0.4.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for fourmat-0.4.3.tar.gz
Algorithm Hash digest
SHA256 4a76fcfc822881be09e2d0442ab38892cdaf2901c881340aa9d4a3d53dea46ef
MD5 9ea51f67d4261e7e92dec5eb96704ecb
BLAKE2b-256 6591198ebec12609541b08554c77d28cde011ff2fa0578460d72e8488cb46878

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fourmat-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for fourmat-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5574348cf4302fa360ce2c377b8479bae58a80412304165241d19014b19f127
MD5 9e652d2bb9af295d8e350da86a421475
BLAKE2b-256 a758d03eb2a6a2ae902b59f79ef9450da3897b923825c83594fe995104b4288f

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