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
Release files for fourmat 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fourmat-2.0.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fourmat-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / fourmat-2.0.0.tar.gz
| Download URL | fourmat-2.0.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
345029938a0d5dffc0ef0ebbb33d7f333936e3cf145d5bfd2a5c6a7a345a5b09
|
|
BLAKE2b-256 checksum How to use checksums |
436e3436c16399bcc91a35c3210a7fc0f66bd911639f7d73a3735d5dbfccb00a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Release files / fourmat-2.0.0-py3-none-any.whl
| Download URL | fourmat-2.0.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ae970476cd65f747446be322d6c883d78653cc8f1cd4cc7762b00164f3777e2
|
|
BLAKE2b-256 checksum How to use checksums |
7321f1be1dc2e46715bd0b076ae60d81c86082512317565e543b413eb6314699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|