Skip to content
Snippets Groups Projects
Commit 23bbd2e4 authored by vlorentz's avatar vlorentz
Browse files

Fix various warnings

parent 74a45f0b
No related branches found
No related tags found
No related merge requests found
......@@ -7,5 +7,5 @@ Architecture
:titlesonly:
:hidden:
architecture
mirror
../architecture
../mirror
......@@ -39,13 +39,19 @@ Tests
+++++
* use ``pytest`` as test runner
* put ``tests/`` dir down deep in the module hierarchy, near to the code being tested
* naming conventions:
** ``tests/test_mymodule.py``
** ``class TestMyEntity(unittest.TestCase)``
** ``def behavior(self):``
*** do *not* prepend ``test_`` to all test methods;
use nose's ``@istest`` decorator instead
* ``tests/test_mymodule.py``
* ``class TestMyEntity(unittest.TestCase)``
* ``def behavior(self):``
* do *not* prepend ``test_`` to all test methods;
use nose's ``@istest`` decorator instead
Classes
+++++++
......@@ -54,7 +60,7 @@ Classes
`inherit from 'object' explicitly <http://google.github.io/styleguide/pyguide.html?showone=Classes#Classes>`_
Docstrings
---------
----------
* docstrings should produce a nice API documentation when run through
`Sphinx <http://www.sphinx-doc.org/en/stable/>`_, in particular:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment