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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fourmat-0.11.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for fourmat-0.11.0.tar.gz
Algorithm Hash digest
SHA256 3483438aed322d6b4731eb1961ae14c3215a6a1906f52672856310eef47bd2d0
MD5 ae7fed8048a731fefbb096befd2afc35
BLAKE2b-256 2a28e2338c4a209a9a92f551f3644850c877c7ae2cd1aad8e103cbe68212756c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fourmat-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for fourmat-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc1e76e68d22278b11d730075c77e0554f39be45d00449f2c0dbfb39a88c2227
MD5 1b09ae4dcbbc43d119f2bb0d242fbbf0
BLAKE2b-256 137245a0c3f492fab0418e8b3a05ecd39dd583ca6e045ba9d5d2665d7728bb7c

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