Comments (5)
I did it on my fork to make it more easily hackable; take whatever you want from https://github.com/pjz/pidora .
from pidora.
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.
Yup, that's PEP 8. Good plan. Tools like the aforementioned autopep8 can help, and your text editor probably has a plugin.
from pidora.
(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.
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)
- Disable autoplay HOT 1
- NPR Volume way lower HOT 2
- GetExplanation api when no song is playing HOT 1
- PianoBar Install Part Fails HOT 6
- Document which Raspberry Pi distro install.sh works with HOT 4
- Make this a pypi package HOT 1
- call/signature mismatch in bar-update.py HOT 2
- make podcast feed configurable, maybe multi? HOT 4
- change port HOT 4
- mobile browser detection and redirection HOT 5
- tools.staticdir.root is incorrect if install.sh is ran by another use than 'pi'
- modifed scripts HOT 1
- API: Available Commands
- Create new class PianobarWithNews
- Where is the speaker output? HOT 5
- Does Git Pull pull from the forked repo? HOT 1
- Use songDuration to guess if a song is actually an ad HOT 1
- Naming problems HOT 3
- I am getting a connection error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pidora.