carlosmiei / flake8-cached

a wrapper around flake8 to allow file level caching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

A wrapper around flake8's cli that caches results between runs at file level.

This project was generated with cookiecutter using jacebrowning/template-python.

Unix Build Status Windows Build Status Coverage Status Scrutinizer Code Quality PyPI Version PyPI License

Setup

Requirements

  • Python 3.6+

Installation

Install it directly into an activated virtual environment:

$ pip install flake8-cached

or add it to your Poetry project:

$ poetry add flake8-cached

Usage

After installation, the package can imported:

# it accepts all arguments as flake8
$ flake8-cached .

Note

It creates cache files under .cache/flake8 under the project directory. It is not cleaned up even if there is some config or python binary changes. Please remove the folder and re-run if you get stale results. It is a simple cache implementation intended to be used during development.

About

a wrapper around flake8 to allow file level caching

License:MIT License


Languages

Language:Python 87.9%Language:Makefile 12.1%