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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fourmat-0.7.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fourmat-0.7.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.0

File hashes

Hashes for fourmat-0.7.0.tar.gz
Algorithm Hash digest
SHA256 239386b93046a0c26a981132df07cc93ab6e42b9f00e84660a28d6f3c772dde7
MD5 f9f7432dfb0744b2ea54724cfed1af2b
BLAKE2b-256 a1c3a6b200dd43213f89b94f008dd21cb0e4609e0200e8421605a2532f7984db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fourmat-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.0

File hashes

Hashes for fourmat-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baf74708ad261bba0b2019e911c781ccba99e24988fe47d269af61ae17f94969
MD5 83263ef4911482c8d7a6e277188d8e7a
BLAKE2b-256 f1cbed645deb1cc0bbd71c518f753b3d1a6a7dfffd698ae29df4cfe2d660d66f

See more details on using hashes here.

Supported by

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