Remove trailing whitespaces (#361)

This commit is contained in:
Tobias Kunze
2016-12-16 21:44:34 +01:00
committed by Raphael Michel
parent e5cb26464e
commit 58668010a2
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -8,12 +8,12 @@ Python code
Use `flake8`_ to check for conformance problems. The project includes a setup.cfg file
with a default configuration for flake8 that excludes migrations and other non-relevant
code parts. It also silences a few checks, e.g. ``N802`` (function names should be lowercase)
and increases the maximum line length to more than 79 characters. **However** you should
code parts. It also silences a few checks, e.g. ``N802`` (function names should be lowercase)
and increases the maximum line length to more than 79 characters. **However** you should
still name all your functions lowercase [#f1]_ and keep your lines short when possible.
* Our build server will reject all code violating other flake8 checks than the following:
* E123: closing bracket does not match indentation of opening brackets line
* F403: ``from module import *`` used; unable to detect undefined names
* F401: module imported but unused
+2 -2
View File
@@ -118,8 +118,8 @@ Then execute ``python -m smtpd -n -c DebuggingServer localhost:1025``.
Working with translations
^^^^^^^^^^^^^^^^^^^^^^^^^
If you want to translate new strings that are not yet known to the translation system,
you can use the following command to scan the source code for strings to be translated
If you want to translate new strings that are not yet known to the translation system,
you can use the following command to scan the source code for strings to be translated
and update the ``*.po`` files accordingly::
make localegen
@@ -41,7 +41,7 @@
</div>
</div>
{% endif %}
{% for form in forms %}
<div class="panel panel-default">
<div class="panel-heading">
@@ -56,7 +56,7 @@
<span class="text-right pull-right">
<input type="button" data-id="{{ forloop.counter0 }}" name="copy" class="js-copy-answers btn btn-default btn-xs" value='{% trans "Copy answers from above" %}'>
</span>
{% endif %}
{% endif %}
</h4>
</div>
<div id="cp{{ form.pos.id }}"