Skip to content

Commit

Permalink
import future annotations as we support py3.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin authored and mgautierfr committed Dec 18, 2023
1 parent f706533 commit 0bfddc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/warc2zim/url_rewriting.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
by slightly simplifying the path and keeping only the usefull arguments in the querystring.
"""

from __future__ import annotations

import logging
import re
from urllib.parse import urlsplit, urlunsplit, quote, unquote, parse_qs, urlencode
Expand Down
2 changes: 2 additions & 0 deletions src/warc2zim/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4 nu

from __future__ import annotations

import pkg_resources
from bs4 import BeautifulSoup

Expand Down

0 comments on commit 0bfddc9

Please sign in to comment.