Metadata-Version: 2.4
Name: fourmat
Version: 2.0.0
Summary: A library for batteries-included linting and autoformatting
Home-page: https://github.com/4Catalyzer/fourmat
Author: Giacomo Tagliabue
Author-email: giacomo@gmail.com
License: MIT
Keywords: lint autoformat black flake8 isort
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8
Requires-Dist: black==25.1.0
Requires-Dist: flake8-bugbear<25,>=24
Requires-Dist: flake8<8,>=7
Requires-Dist: isort<7,>=6
Requires-Dist: setuptools>=80
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Fourmat

A library for batteries-included linting and autoformatting.

## Installation and Usage

Install fourmat through pip:

```sh
$ pip install fourmat
```

Create a `.fourmat` file to specify the directories and files to check.

```sh
$ fourmat check

$ fourmat fix
```

## Adding Fourmat as a pre-commit hook

Install the pre-commit package:

```sh
$ pip install pre-commit
```

Create a `.pre-commit-config.yaml` containing:

```yaml
repos:
- repo: https://github.com/4Catalyzer/fourmat
  rev: master  # or specify a version
  hooks:
    - id: fourmat
```

then install the hook:

```
$ pre-commit install
```
