Comments (14)
+1. PEP8 is practically universally accepted.
Even if you don't adopt PEP8, you should define/document your coding standard conventions in order to allow contributions to be consistent with the existing code base.
from mailpile.
+1 I would be strongly in favour of PEP8 also.
from mailpile.
+1
from mailpile.
+1
Could please someone from core Mailpile developers take a look at this? External contribution is not easy because the diff would be huge, and there is even a security risk because of that.
from mailpile.
We are going to slowly move in this direction. New source files will be PEP 8 compliant and we'll be cleaning up the old ones a little bit at a time.
from mailpile.
Since @markberger has said he doesn't have enough time to keep working on this issue, I'd be glad to take over and help making old files compliant with PEP8 (there's also some pyflakes cleanup to be done). I agree with @kmike that this is going to produce huge diffs, so maybe we could do it little by little, on file at a time. What do you think?
from mailpile.
After formatting the one file, I would recommend committing indentations
and code changes seperately. That way it is clear what lines of code have
been changed.
On Thursday, September 19, 2013, Gabriel Rodríguez Alberich wrote:
Since @markberger https://github.com/markberger has said he doesn't
have enough time to keep working on this issue, I'd be glad to take over
and help making old files compliant with PEP8 (there's also some pyflakes
cleanup to be done). I agree with @kmike https://github.com/kmike that
this is going to produce huge diffs, so maybe we could do it little by
little, on file at a time. What do you think?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-24746096
.
from mailpile.
@vibragiel : Thank you for the generous offer. I only hesitate to take you up on it because we are still doing extensive refactoring and stuff is getting reorganized a lot. We may circle back and accept your offer in a couple of weeks if/when things settle down a bit.
@markberger : Agreed!
from mailpile.
@BjarniRunar Okay, we can do that. I'm used to convert code into PEP8, so I don't think it will take too long to get all of Mailpile worked out. Just give me a whistle when you feel ready :-)
from mailpile.
I would like to help with this task. Please let me know if you need any help on this matter.
from mailpile.
Thanks @jventuravs !
However, as discussed in #244, we have come to the conclusion that it is better for the core team to do the majority of this work, all the changes need to be reviewed by a core member for security reasons and for routine and semi-automated changes that most pep8 fixes are, it's actually a lot easier for us to just do the work ourselves than review and merge pull requests.
We have actually already made good progress, about half the files now comply with the tests from the Debian 7.2 version of the pep8 tool.
from mailpile.
Great, thanks for the heads up. Will be looking for some other way to contribute. Great project by the way, can't wait to use it!
from mailpile.
FYI: a collegue of mine showed a trick to remove whitespace changes from github diff: add w=1
to URL. Compare https://github.com/pagekite/Mailpile/pull/62/files?w=1 and https://github.com/pagekite/Mailpile/pull/62/files
from mailpile.
As of commit e1dd83e, the pep8 tool as shipped with Ubuntu 13.10 has virtually no complaints. I am closing this issue, we'll periodically rerun the tool and fix things that drift out of line.
from mailpile.
Related Issues (20)
- Unable to install on Ubuntu 20 HOT 9
- Message not found - location pointers lost from Metadata index HOT 7
- How to import existing GPG keypair HOT 3
- Is lockfile a unused dependency? HOT 1
- Cannot add mail spool source
- Trying to get in touch regarding a security issue HOT 3
- Message repetition when allowing image downloading
- Gmail blocks Mailpile HOT 2
- Tor cannot be enabled HOT 1
- Vulnerability in https://demo.mailpile.is/C/auth/login/ HOT 3
- Improve output of terminal commands HOT 1
- Update .onion URL to HSv3 link. HOT 1
- More than 14 email accounts -cannot select "Choose sending account" HOT 1
- Upgrade to Debian 11 Bullseye broke Mailpile HOT 3
- Internal error: 'NoneType' object has no attribute 'mailbox_info' HOT 1
- SSL certificate has expired for https://community.mailpile.is HOT 1
- Project dependencies may have API risk issues HOT 2
- Receive mail through SMTP.
- Mailpile v1 is obsolete, long live Mailpile v2 ? HOT 4
- Raspi: Epiphany will not load local network web-pages 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 mailpile.