Giter Club home page Giter Club logo

flake8-snippets's Introduction

flake8-snippets

A flake8 extension to find any code snippets you don't like.

Flake8 is a tool to combine different apps (like pep8) and therefore to guarantee clean Python code.

Read more: http://flake8.readthedocs.org/en/latest/

Installation

To get the latest stable release from PyPi

$ pip install flake8-snippets

To get the latest commit from GitHub

$ pip install -e git+git://github.com/bitmazk/flake8-snippets.git#egg=flake8_snippets

Usage

Simply enhance the flake8 command with the --snippet setting and add a comma-separated list

flake8 --statistics --snippets='# TODO' .

or

flake8 --statistics --snippets='import ipdb,ipdb.set_trace()' .

Contribute

If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
$ mkvirtualenv -p python2.7 flake8-snippets
$ python setup.py install

$ git co -b feature_branch master
# Implement your feature and tests
$ git add . && git commit
$ git push -u origin feature_branch
# Send us a pull request for your feature branch

flake8-snippets's People

Contributors

stefanor avatar tyrdall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flake8-snippets's Issues

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.