Skip to content

Commit

Permalink
Pass mypy and link issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Sep 18, 2024
1 parent 17e8aab commit efb17ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
4 changes: 4 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ explicit_package_bases = True
disable_error_code =
# Disable due to many false positives
overload-overlap,

# cherrypy/cherrypy#1510
[mypy-cherrypy.*]
ignore_missing_imports = True
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ classifiers = [
requires-python = ">=3.8"
dependencies = [
"openpack",
'singledispatchmethod; python_version < "3.8"',
]
dynamic = ["version"]

Expand Down Expand Up @@ -71,7 +70,3 @@ type = [


[tool.setuptools_scm]


[tool.pytest-enabler.mypy]
# Disabled due to jaraco/skeleton#143
12 changes: 4 additions & 8 deletions xlsxcessive/worksheet.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
"""Classes that represent parts of an OOXML Worksheet."""

import operator
import string
import datetime
import numbers

try:
from functools import singledispatchmethod # type: ignore
except ImportError:
from singledispatchmethod import singledispatchmethod # type: ignore

import operator
import string
from functools import singledispatchmethod
from xml.sax.saxutils import escape

from xlsxcessive import markup
from xlsxcessive.cache import CacheDecorator

Expand Down

0 comments on commit efb17ef

Please sign in to comment.