Skip to content

Commit

Permalink
Make black and ruff happy.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
  • Loading branch information
MichaelTiemannOSC committed Jan 15, 2024
1 parent f9e9dba commit 0b04965
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 10 additions & 1 deletion pint/delegates/formatter/base_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@

class BaseFormatter:
# This default order for sorting dimensions was described in the proposed ISO 80000 specification.
dim_order = ( "[substance]", "[mass]", "[current]", "[luminosity]", "[length]", "[]", "[time]", "[temperature]", )
dim_order = (
"[substance]",
"[mass]",
"[current]",
"[luminosity]",
"[length]",
"[]",
"[time]",
"[temperature]",
)

def format_quantity(
self, quantity: PlainQuantity[MagnitudeT], spec: str = ""
Expand Down
1 change: 0 additions & 1 deletion pint/facets/plain/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import itertools
import numbers
import typing as ty
import ast
from dataclasses import dataclass
from functools import cached_property
from typing import Any, Optional
Expand Down

0 comments on commit 0b04965

Please sign in to comment.