Comments (3)
re: 80-char limit:
I also used to stick with 80-char limits, although with higher resolution screens I really don't think it makes sense. When you had 1024x768 sure you don't want to be scrolling much. The 80-char limit came from ancient terminals, and people seem to have stuck to it with all sorts of newer systems. I'm all for some reasonable limit to make diff viewing easier, but I think 80 is too short. There's a good point at http://lkml.org/lkml/2009/12/17/229 too - if you break lines up, it makes it harder to search for something. e.g. if you break a string up because it's longer than 80 chars, you can't search for part of that string now since it's split.
re: alignment:
IMHO readability is king... especially with a project like ours, I can't imagine we'll be modifying things a lot once they've matured a bit. Whilst it will result in some extra commit noise, I'd rather it's easier for the many users after who will be reading it, rather than the handful doing development work.
My vote is screw PEP8, or at least the portions that seem somewhat counter-intuitive.
from pico-python.
80 char limit.
I think 80 char limit especially doesn't make sense python with tabs = 4 spaces.
you already lose 10% because class, def, inside an if statement in a while loop, you have lost 20%....
maybe 100 or 120? I've never actually enforced a limit, but I think it might be a good idea.
Alignment:
Ok. I'll keep alignment that makes visual sense.
from pico-python.
You can ignore some whitespace changes with this:
http://stackoverflow.com/questions/4449834/commit-without-whitespace-changes-on-github
from pico-python.
Related Issues (20)
- Visualization: Trying to regenerate plot (cannot clear previous plots) HOT 2
- How to set MAX Sampling interval to 5ns for 2205A HOT 1
- pico-python vs. official & ownership HOT 3
- PS6000 _lowLevelGetValuesBulk pointer error HOT 9
- Issues With changing the sampling interval HOT 8
- windll.LoadLibrary could not find the picoscope .dll directory HOT 14
- setChannel AC coupling quirk HOT 1
- the picoscope does not work HOT 13
- Typo in AWGMaxVal for ps3000a
- Help on picoscope module installation and use (list of commands) HOT 3
- Error durring ps5000a instanciation (python 3.x) HOT 1
- Migrate to travis-ci.com HOT 4
- Issue at repeating measurements HOT 2
- runBlock always requires a callback, breaking existing code HOT 3
- Raised exception in the __del__ Picobase method HOT 2
- ps6000.py _lowLevelGetTimebase returns error 14 for timebase 0 (200 ps) for PS6404C HOT 14
- Use picosdk for low level handling? HOT 6
- new release? HOT 6
- ps3404D AWG Signal period wrong HOT 5
- PS4444 voltage range with PicoConnect 442 HOT 1
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 pico-python.