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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3821ad108f628231cb3564515e48e07eee46f8a386bbb16b9cc4c203e119c8f5 |
|
MD5 | e7dfa508849fd3ab9561d0d2dd093d98 |
|
BLAKE2b-256 | 1c4ed72c9ab2285de6fd70a46c33a431157edaa3605e2c83837396ab3113266d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7bc7cb846ba2863bdc5f52ffacb073d91768ed316c03edf06628bc68deff57f |
|
MD5 | c719f7ce9fd7ae5e2442e28da21941e2 |
|
BLAKE2b-256 | fde411dea6a6f83cfb4cb40d71984aab46d435950c5f8e451049a20e6a636124 |