fourmat-0.9.0
توضیحات
A library for batteries-included linting and autoformatting
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fourmat-0.9.0 |
| نام | fourmat |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Giacomo Tagliabue |
| ایمیل نویسنده | giacomo@gmail.com |
| آدرس صفحه اصلی | https://github.com/4Catalyzer/fourmat |
| آدرس اینترنتی | https://pypi.org/project/fourmat/ |
| مجوز | MIT |
# 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
```
نیازمندی
| مقدار | نام |
|---|---|
| >=7 | click |
| ==22.3.0 | black |
| <22,>=21 | flake8-bugbear |
| <4,>=3 | flake8 |
| <6,>=5 | isort |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl fourmat-0.9.0:
pip install fourmat-0.9.0.whl
نصب پکیج tar.gz fourmat-0.9.0:
pip install fourmat-0.9.0.tar.gz