Skip to content

Commit

Permalink
Remove unused "type: ignore" comments for mypy (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec authored Oct 15, 2024
1 parent 7d54599 commit 5a5fa0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ python -m pip install --upgrade pip wheel build
# Generate and install the package
python -m build
for w in dist/*.whl ; do
python -m pip install $w
python -m pip install $w[pecos,calendar]
cp $w ${ARTIFACTSDIR}
done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
import calendar
import datetime

import matplotlib.pyplot as mpl # type: ignore
import matplotlib.pyplot as mpl
import numpy as np
from matplotlib.figure import Figure # type: ignore
from matplotlib.figure import Figure

calendar.setfirstweekday(0)

Expand Down
2 changes: 1 addition & 1 deletion pytket/extensions/quantinuum/backends/quantinuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
from .api_wrappers import QuantinuumAPI, QuantinuumAPIError

if TYPE_CHECKING:
import matplotlib # type: ignore
import matplotlib

try:

Expand Down

0 comments on commit 5a5fa0d

Please sign in to comment.