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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fourmat-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for fourmat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d5aa7435b748053910de449c1ae6be9b4bd8d69770f1644a034c080b32bc810e
MD5 7103242f615be9f7500daa4a27cdf771
BLAKE2b-256 9c9d92dbb3ff95d5ac440736d9cb76e9ace51a66cdb28a1d07aff72554cb24f1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fourmat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for fourmat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef2e9431c05aa72b4b405f17ccdd9ad00d77b31035db5f7f51c5b0d98886e35a
MD5 97422871a145d4b81776a719b0b27695
BLAKE2b-256 9610deb15ce55d80205f77d44412e7881471b100d61cb0a7113129cc71bb420f

See more details on using hashes here.

Provenance

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