Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 23, 2024
1 parent 912839d commit 9b97757
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions paradocx/headerfooter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class HeaderPart(DefaultNamed, Part):
content_type = (
"application/" "vnd.openxmlformats-officedocument.wordprocessingml.header+xml"
"application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"
)
rel_type = (
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header"
Expand All @@ -13,7 +13,7 @@ class HeaderPart(DefaultNamed, Part):

class FooterPart(DefaultNamed, Part):
content_type = (
"application/" "vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"
"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"
)
rel_type = (
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer"
Expand Down
6 changes: 2 additions & 4 deletions paradocx/numbering.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@

class NumberingPart(DefaultNamed, Part):
content_type = (
'application/'
'vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml'
'application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml'
)
rel_type = (
'http://schemas.openxmlformats.org'
'/officeDocument/2006/relationships/numbering'
'http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering'
)
default_name = '/word/numbering.xml'

Expand Down
5 changes: 2 additions & 3 deletions paradocx/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

class SettingsPart(DefaultNamed, Part):
content_type = (
'application/' 'vnd.openxmlformats-officedocument.wordprocessingml.settings+xml'
'application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml'
)
rel_type = (
'http://schemas.openxmlformats.org'
'/officeDocument/2006/relationships/settings'
'http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings'
)
default_name = '/word/settings.xml'
2 changes: 1 addition & 1 deletion paradocx/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class StylesPart(DefaultNamed, Part):
content_type = (
"application/" "vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"
"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"
)
rel_type = (
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
Expand Down

0 comments on commit 9b97757

Please sign in to comment.