Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40262
| Date | 2013-03-01 16:10 +0100 |
|---|---|
| From | Stephane Wirtel <stephane@wirtel.be> |
| Subject | Best Practices with Python |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2735.1362150863.2939.python-list@python.org> (permalink) |
Hi all,
How are you ? me ? fine ;-)
I have a lot of questions about the development with Python.
I want to discuss about the tools for the enhancement of the quality of
a project, not about the debugging (I don't want to discuss about pdb,
ipdb, pudb, ...)
I use these tools
1. Documentation
sphinx: http://sphinx-doc.org/
a. I like the reStructuredText syntax
b. We can parse the files and get an AST
c. We can add a lot of directives or new roles for custom behaviors
d. We can generate several output formats (pdf, epub, html)
2. BDD
I use Behave: http://pythonhosted.org/behave/
3. TDD
unittest2
mock
nose
4. Code
Clone Digger ?
for me this project is very useful because we can determine the
duplicated code via a pattern matching.
but the project seems to be dead
pylint ?
very strict but we can change the configuration, but very useful
to have a quality of code
flake8 ?
more permissive than pylint.
5. Continuous Integration Server
Jenkins with Shining Panda
What do you think about Buildbot ?
6. Logging
And you, what are your best practices ?
Regards,
Stéphane
--
Stéphane Wirtel - http://wirtel.be - @matrixise
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Best Practices with Python Stephane Wirtel <stephane@wirtel.be> - 2013-03-01 16:10 +0100
csiph-web