Skip to content

Commit

Permalink
Make linters happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Aug 30, 2020
1 parent 9b0a981 commit 2a5d07d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mawek/body.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


def wrap_tables(content):
"""Wrap <table> elements in <div class="table-wrapper">."""
soup = BeautifulSoup(content, "html.parser")

for table in soup.find_all("table"):
Expand Down
2 changes: 1 addition & 1 deletion src/mawek/code.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Get information about the under-use pygments theme."""
from pygments.style import Style
from pygments.token import Text


def get_pygments_style_colors(style, *, fallbacks):
"""Get background/foreground colors for given pygments style."""
background = style.background_color
text_colors = style.style_for_token(Text)
foreground = text_colors["color"]
Expand Down

0 comments on commit 2a5d07d

Please sign in to comment.