Skip to content

Commit

Permalink
fix: remove py2 utf8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Apr 16, 2024
1 parent 633bf53 commit 30cbd9f
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion extruct/jsonld.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
"""
JSON-LD extractor
"""
Expand Down
1 change: 0 additions & 1 deletion extruct/rdfa.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
"""
RDFa extractor
Expand Down
1 change: 0 additions & 1 deletion extruct/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import lxml.html

from extruct.xmldom import XmlDomHTMLParser
Expand Down
1 change: 0 additions & 1 deletion extruct/xmldom.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# mypy: disallow_untyped_defs=False
from __future__ import annotations

# -*- coding: utf-8 -*-
from copy import copy, deepcopy
from xml.dom import Node
from xml.dom.minidom import Attr, NamedNodeMap
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import os

from setuptools import find_packages, setup
Expand Down
1 change: 0 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import os

Expand Down
1 change: 0 additions & 1 deletion tests/test_dublincore.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_extruct.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_extruct_uniform.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_jsonld.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_microdata.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_microformat.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_opengraph.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest

Expand Down
1 change: 0 additions & 1 deletion tests/test_rdfa.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# mypy: disallow_untyped_defs=False
# -*- coding: utf-8 -*-
import json
import unittest
from pprint import pformat
Expand Down

0 comments on commit 30cbd9f

Please sign in to comment.