Skip to content

Commit

Permalink
Remove trailing whitespaces (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx authored and raphaelm committed Dec 16, 2016
1 parent e5cb264 commit 5866801
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions doc/development/contribution/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 bracket’s line
* F403: ``from module import *`` used; unable to detect undefined names
* F401: module imported but unused
Expand Down
4 changes: 2 additions & 2 deletions doc/development/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h4 class="panel-title">
</div>
</div>
{% endif %}

{% for form in forms %}
<div class="panel panel-default">
<div class="panel-heading">
Expand All @@ -56,7 +56,7 @@ <h4 class="panel-title">
<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 }}"
Expand Down

0 comments on commit 5866801

Please sign in to comment.