Giter VIP home page Giter VIP logo

flake_master's Introduction

flake_master

Build Status Maintainability Test Coverage PyPI version PyPI - Python Version

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 nitpick or flakehell. I need simple tool that helps with flake8 configuration management. Also I'm bored.

Installation

pip install flake_master

Usage

Flake master can help with flake8 set setup and upgrade.

Setup

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

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.

Contributing

We would love you to contribute to our project. It's simple:

  • Create an issue with bug you found or proposal you have. Wait for approve from maintainer.
  • Create a pull request. Make sure all checks are green.
  • Fix review comments if any.
  • Be awesome.

Here are useful tips:

flake_master's People

Contributors

melevir avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

lencof

flake_master's Issues

Remove extra flake8-plugins

When installing/updating, remove all flake8-related plugins, that are not in preset and print commands to remove them from venv.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.