Skip to content

Commit

Permalink
feat: remove dependency six
Browse files Browse the repository at this point in the history
was compatibility import for python 2
  • Loading branch information
Rotzbua committed Apr 16, 2024
1 parent 633bf53 commit 056ea78
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ repos:
rev: 5.12.0
- hooks:
- id: mypy
additional_dependencies: [types-requests, types-mock, types-six, lxml-stubs]
additional_dependencies: [types-requests, types-mock, lxml-stubs]
repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.982
3 changes: 1 addition & 2 deletions extruct/uniform.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# mypy: disallow_untyped_defs=False
import copy
from typing import Any

from six.moves.urllib.parse import urljoin, urlparse
from urllib.parse import urljoin, urlparse

from extruct.dublincore import get_lower_attrib

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ rdflib<6.0.0; python_version<"3.7"
rdflib-jsonld<=0.5.0; python_version<"3.7"
pyrdfa3
mf2py>=1.1.0
six>=1.11
w3lib
html-text
jstyleson
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def get_version():
"mf2py",
"w3lib",
"html-text>=0.5.1",
"six",
"jstyleson",
],
extras_require={
Expand Down

0 comments on commit 056ea78

Please sign in to comment.