Git Product home page Git Product logo

spyder_autopep8's Introduction

spyder_autopep8

Description

This is a plugin to run the autopep8 python linter from within spyder editor.

Install instructions

Put the files p_autopep8.py and images/autopep8.png in the directory spyderplugins/ from the spyder installation.

For example on Linux this should be /usr/lib/python2.7/dist-packages/spyderplugins/ or equivalent.

Usage

Press Shift+F8 (default) to run autopep8 on the current file or go to Source > Run autopep8 code autoformatting.

If some text is selected, autopep8 will run on this text only.

Informations about the execution will be displayed in the statusbar.

spyder_autopep8's People

Contributors

blink1073 avatar nodd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spyder_autopep8's Issues

Check/uncheck all

Add buttons for checking and unchecking all checkboxes.

Options:

  • There could be separate buttons for each category
  • There could be one button for both actions, flipping everything on and off. If the buttons are partially checked, start by checking them all

OR

  • Instead of (big) buttons, maybe use labelled links in parens next to the group name like (check all - uncheck all)

Autorun on save

Similar to removing whitespace at end of lines on save.

Unchecked by default of course as it can potentially be dangerous.

Check versions

Check for pep8 and autopep8 versions. They must be "compatible", and old autopep8 versions don't have the fix_string() function.

Add diff preview

Preview can be interesting but it requires a new interface. Is it worth it ?

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.