Code Monkey home page Code Monkey logo

Comments (5)

pjz avatar pjz commented on June 29, 2024

I did it on my fork to make it more easily hackable; take whatever you want from https://github.com/pjz/pidora .

from pidora.

jacroe avatar jacroe commented on June 29, 2024

Would you call this the "official" PEP8 style guide? I'm working on version 2.0* of Pidora and would rather build it with these ideals in mind.

* In 2.0, I'm making things more modular by separating the pianobar bits from the Pidora bits so that it can support more services (such as Google Music and Soma.fm).

from pidora.

pjz avatar pjz commented on June 29, 2024

Yup, that's PEP 8. Good plan. Tools like the aforementioned autopep8 can help, and your text editor probably has a plugin.

from pidora.

jacroe avatar jacroe commented on June 29, 2024

(Just realized that I included a footnote marker in my above comment and then didn't add the note. Fixed.)

Oh yeah converting from tabs to spaces in Sublime Text is easy-peas; I just usually work in tabs. I'm working more on getting variable and function names up to snuff.

from pidora.

pjz avatar pjz commented on June 29, 2024

Also, in places where you have X == y or X == z or X == a it's more pythonic to just test X in [ y, z, a ].

from pidora.

Related Issues (20)

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.