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.10.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file fourmat-0.10.1.tar.gz
.
File metadata
- Download URL: fourmat-0.10.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35ca8ca0fa087352f4c16f854676321273fe446ade5126f8cc2701ef192c294 |
|
MD5 | c3f3ce883fae95e2040380a3252be346 |
|
BLAKE2b-256 | a4da722d72369d1f3bc10715b09b10b2def203d5c4a309448a74a4018568a81d |
File details
Details for the file fourmat-0.10.1-py3-none-any.whl
.
File metadata
- Download URL: fourmat-0.10.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68893e0259f2cb0acd3c09b81c5904de15cc9672b7df43d4cb33a6c24b8bfd75 |
|
MD5 | 9768c5b933f6a7041ead7337ec4169a0 |
|
BLAKE2b-256 | 5f804d884d3982811429173a243ee2a48b6139d004eb91d5222ab34b09efa2c0 |