Skip to content

Commit

Permalink
fix: eliminate mypy EX_OK error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmhoffman committed Jun 2, 2023
1 parent 12e084a commit 5472f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdfcomments/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
from PyPDF2 import PageObject, PdfReader

try:
from os import EX_OK
from os import EX_OK # type: ignore[attr-defined]
except ImportError:
EX_OK = 0
EX_OK = 0 # XXX: no longer necessary in Python >=3.11

# key: int (number of stars)
# value: list of strs
Expand Down

0 comments on commit 5472f68

Please sign in to comment.