summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-08-02 21:54:39 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-08-02 21:54:39 +0200
commit9199f35f995c39f9c4206db14d2dedb83805d527 (patch)
tree08295ac7c98d520b124ad4208d68e5e812648c49 /writerfilter
parentc3657be928732f1b3b3b238f625de304a90a1ae1 (diff)
writerfilter: PEP 8 fixes
Change-Id: I82c14013c906d4e6d16f69dbebe419d0c56673c2
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/README13
-rw-r--r--writerfilter/source/ooxml/fasttokens.py4
-rw-r--r--writerfilter/source/ooxml/tox.ini2
3 files changed, 17 insertions, 2 deletions
diff --git a/writerfilter/source/ooxml/README b/writerfilter/source/ooxml/README
new file mode 100644
index 000000000000..fd71540c4cdd
--- /dev/null
+++ b/writerfilter/source/ooxml/README
@@ -0,0 +1,13 @@
+= DOCX tokenizer
+
+== Coding style
+
+This directory uses the PEP 8 (see
+<http://legacy.python.org/dev/peps/pep-0008/>) coding style for Python files.
+Please run
+
+----
+pep8 *.py
+----
+
+before committing.
diff --git a/writerfilter/source/ooxml/fasttokens.py b/writerfilter/source/ooxml/fasttokens.py
index bcd0329bfe05..1aa5559b8e29 100644
--- a/writerfilter/source/ooxml/fasttokens.py
+++ b/writerfilter/source/ooxml/fasttokens.py
@@ -35,10 +35,10 @@ class ContentHandler(xml.sax.handler.ContentHandler):
self.chars.append(characters)
print("""
-/*
+/*
THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT!
-
+
*/
diff --git a/writerfilter/source/ooxml/tox.ini b/writerfilter/source/ooxml/tox.ini
new file mode 100644
index 000000000000..7c1de86cadb7
--- /dev/null
+++ b/writerfilter/source/ooxml/tox.ini
@@ -0,0 +1,2 @@
+[pep8]
+ignore = E501