flake-master-0.0.1
توضیحات
flake_master is a manager for flake8 plugins and configuration.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | flake-master-0.0.1 |
| نام | flake-master |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ilya Lebedev |
| ایمیل نویسنده | melevir@gmail.com |
| آدرس صفحه اصلی | https://github.com/Melevir/flake_master |
| آدرس اینترنتی | https://pypi.org/project/flake-master/ |
| مجوز | MIT |
# flake_master
[](https://travis-ci.org/Melevir/flake_master)
[](https://codeclimate.com/github/Melevir/flake_master/maintainability)
[](https://codeclimate.com/github/Melevir/flake_master/test_coverage)
flake_master is a manager for flake8 plugins and configuration.
If you have multiple projects with rich flake8 setup, you
know how painful it could be to keep flake8 setup in
all projects up to date and synced.
This is what flake master does.
This library is inspired by eslint and does pretty much the same
as flakehell. I'm bored.
## Installation
```terminal
pip install flake_master
```
## Usage
Flake master can help with flake8 set setup and upgrade.
### Setup
```terminal
flake_master setup <preset name or path> <dir to do the setup>
```
This will do the following:
- download preset with all plugins versions and project setup (from Github);
- add required packages to `requirements.txt`;
- add plugins configuration to `setup.cfg`;
- create `.flake_master` file with current preset version
(add the file to vsc).
### Upgrade
```terminal
flake_master upgrade <dir with .flake_master>
```
This command will fetch last version of preset from `.flake_master` and apply
it to `requirements.txt` and `setup.py`.
Beware, it can overwrite some data, that was updated by `flake_master` and
then manually updated.
نحوه نصب
نصب پکیج whl flake-master-0.0.1:
pip install flake-master-0.0.1.whl
نصب پکیج tar.gz flake-master-0.0.1:
pip install flake-master-0.0.1.tar.gz