Skip to content

Commit

Permalink
Fixed various small issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeribekker committed Dec 22, 2017
1 parent 1a9dc4a commit ba33ca7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .pep8
@@ -0,0 +1,6 @@
[pep8]
ignore=W293,W291,E501,E261

max-line-length=120

exclude=migrations,static,media
4 changes: 2 additions & 2 deletions bin/jenkins_django.sh
Expand Up @@ -14,8 +14,8 @@ echo "Starting tests"
--verbosity 2 \
--noinput \
--enable-coverage \
--pep8-rcfile=.pep8.rc \
--pylint-rcfile=.pylint.rc \
--pep8-rcfile=.pep8 \
--pylint-rcfile=.pylintrc \
--coverage-rcfile=.coveragerc
)
TESTS_FAIL=$?
Expand Down
4 changes: 2 additions & 2 deletions bin/jenkins_django_pr.sh
Expand Up @@ -12,8 +12,8 @@ echo "Starting tests"
--verbosity 2 \
--noinput \
--enable-coverage \
--pep8-rcfile=.pep8.rc \
--pylint-rcfile=.pylint.rc \
--pep8-rcfile=.pep8 \
--pylint-rcfile=.pylintrc \
--coverage-rcfile=.coveragerc
)
TESTS_FAIL=$?
Expand Down
2 changes: 1 addition & 1 deletion src/zaakmagazijn/api/rewrite_engine.py
Expand Up @@ -95,7 +95,7 @@ def rewrite_response(cls, content):
# namespace) but we don't want that because the reference WSDL uses it.
# etree.cleanup_namespaces(element, top_nsmap=nsmap)

return etree.tostring(root, encoding='utf8', xml_declaration=True, pretty_print=True)
return etree.tostring(root, encoding='utf-8', xml_declaration=True, pretty_print=True)

@classmethod
def rewrite(cls, view_func):
Expand Down

0 comments on commit ba33ca7

Please sign in to comment.