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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fourmat-0.5.0.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.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for fourmat-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3821ad108f628231cb3564515e48e07eee46f8a386bbb16b9cc4c203e119c8f5
MD5 e7dfa508849fd3ab9561d0d2dd093d98
BLAKE2b-256 1c4ed72c9ab2285de6fd70a46c33a431157edaa3605e2c83837396ab3113266d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fourmat-0.5.0-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.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for fourmat-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7bc7cb846ba2863bdc5f52ffacb073d91768ed316c03edf06628bc68deff57f
MD5 c719f7ce9fd7ae5e2442e28da21941e2
BLAKE2b-256 fde411dea6a6f83cfb4cb40d71984aab46d435950c5f8e451049a20e6a636124

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