Skip to content

Commit

Permalink
Make ruff happier
Browse files Browse the repository at this point in the history
Fix ruff errors missed in previous commit.

Signed-off-by: Michael Tiemann <[email protected]>
  • Loading branch information
MichaelTiemannOSC committed Jun 25, 2023
1 parent 945e93f commit 397969d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion pint/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from numbers import Number
from collections.abc import Mapping
from typing import Any, NoReturn, Callable, Optional, Union
from collections.abc import Generator, Iterable
from collections.abc import Iterable

try:
from uncertainties import UFloat, ufloat
Expand Down
7 changes: 0 additions & 7 deletions pint/toktest.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import pint
from pint import Quantity as Q_

import re
import tokenize
from tokenize import NUMBER, STRING, NAME, OP
import token as tokenlib
from io import BytesIO
from pint.pint_eval import _plain_tokenizer, uncertainty_tokenizer
from pint.pint_eval import tokens_with_lookahead

tokenizer = _plain_tokenizer

Expand Down

0 comments on commit 397969d

Please sign in to comment.