Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mat2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Magnin
mat2
Commits
8101c372
Commit
8101c372
authored
6 years ago
by
Julien (jvoisin) Voisin
Browse files
Options
Downloads
Patches
Plain Diff
Make pylint happier
parent
1477d4f4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libmat2/office.py
+5
-1
5 additions, 1 deletion
libmat2/office.py
with
5 additions
and
1 deletion
libmat2/office.py
+
5
−
1
View file @
8101c372
...
@@ -7,6 +7,8 @@ import xml.etree.ElementTree as ET # type: ignore
...
@@ -7,6 +7,8 @@ import xml.etree.ElementTree as ET # type: ignore
from
.archive
import
ArchiveBasedAbstractParser
from
.archive
import
ArchiveBasedAbstractParser
# pylint: disable=line-too-long
# Make pyflakes happy
# Make pyflakes happy
assert
Set
assert
Set
assert
Pattern
assert
Pattern
...
@@ -36,7 +38,9 @@ class MSOfficeParser(ArchiveBasedAbstractParser):
...
@@ -36,7 +38,9 @@ class MSOfficeParser(ArchiveBasedAbstractParser):
'
word/fontTable.xml
'
,
'
word/fontTable.xml
'
,
'
word/settings.xml
'
,
'
word/settings.xml
'
,
'
word/styles.xml
'
,
'
word/styles.xml
'
,
'
word/stylesWithEffects.xml
'
,
# https://msdn.microsoft.com/en-us/library/dd908153(v=office.12).aspx
# https://msdn.microsoft.com/en-us/library/dd908153(v=office.12).aspx
'
word/stylesWithEffects.xml
'
,
}
}
files_to_omit
=
set
(
map
(
re
.
compile
,
{
# type: ignore
files_to_omit
=
set
(
map
(
re
.
compile
,
{
# type: ignore
'
word/webSettings.xml
'
,
'
word/webSettings.xml
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment