#16216: Improve PEP8 compliance: replace "== None" by "is None"
-------------------------------------+-------------------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.2
Component: build | Resolution:
Keywords: pep8 | Merged in:
Authors: Wilfried Luebbe | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/wluebbe/ticket/16216 | 166bc6c497e13febf34e7f64cd947d3bd2dc99c3
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by wluebbe):
There are several competing / overlapping tools that could support such a
"project".
Here are some links:
* [[http://www.pylint.org/|Pylint]] and
[[https://pypi.python.org/pypi/pylint/1.2.0|in PIP]]
* [[http://pep8.readthedocs.org/en/latest/|pep8]] and
[[https://pypi.python.org/pypi/pep8|in PIP]]
* [[https://bitbucket.org/tarek/flake8/wiki/Home|flake8]] and
[[https://pypi.python.org/pypi/flake8|in PIP]]
* [[https://github.com/pyflakes/pyflakes/|pyflakes]] and
[[https://pypi.python.org/pypi/pyflakes/0.8.1|in PIP]]
* [[https://github.com/timothycrosley/frosted|frosted]] and
[[https://pypi.python.org/pypi/frosted|in PIP]]
The cross tool mailing list is [[https://mail.python.org/mailman/listinfo
/code-quality|code-quality]].
These are the Python guidelines:
* [[http://legacy.python.org/dev/peps/pep-0008/|PEP8 Style Guide for
Python Code]]
* [[http://legacy.python.org/dev/peps/pep-0257/|PEP257 Docstring
Conventions]]
* [[http://legacy.python.org/dev/peps/pep-0007/|PEP7 Style Guide for C
Code]]
I had a quick look at them - there is no obvious BEST one.
But it would certainly be worthwhile to select / combine / customize them
for use with Sage.
--
Ticket URL: <http://trac.sagemath.org/ticket/16216#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.