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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fourmat-2.0.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fourmat-2.0.0.tar.gz.
File metadata
- Download URL: fourmat-2.0.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
345029938a0d5dffc0ef0ebbb33d7f333936e3cf145d5bfd2a5c6a7a345a5b09
|
|
| MD5 |
0ad5c4f77056c44e59247dc798b231c3
|
|
| BLAKE2b-256 |
436e3436c16399bcc91a35c3210a7fc0f66bd911639f7d73a3735d5dbfccb00a
|
File details
Details for the file fourmat-2.0.0-py3-none-any.whl.
File metadata
- Download URL: fourmat-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ae970476cd65f747446be322d6c883d78653cc8f1cd4cc7762b00164f3777e2
|
|
| MD5 |
177695a4ad7800dd932cbdd0ce1b2342
|
|
| BLAKE2b-256 |
7321f1be1dc2e46715bd0b076ae60d81c86082512317565e543b413eb6314699
|