Skip to content

Commit

Permalink
Fix "consider-using-from-import" to import error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Mar 19, 2024
1 parent 5525348 commit 22d5dc8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from dataclasses import dataclass
from application.stringifier import StringifierConfig
from application.rounder import RoundingConfig
import application.error_messages as error_messages
from application import error_messages


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion src/api/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from decimal import Decimal

from application.helpers import Helpers
import application.error_messages as error_messages
from application import error_messages
from domain.value import Value
from domain.uncertainty import Uncertainty

Expand Down
2 changes: 1 addition & 1 deletion src/api/res.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import api.config as c
from application.cache import ResultsCache
from application.rounder import Rounder
import application.error_messages as error_messages
from application import error_messages
from domain.result import Result

_res_cache = ResultsCache()
Expand Down
2 changes: 1 addition & 1 deletion src/application/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import decimal
from decimal import Decimal

import application.error_messages as error_messages
from application import error_messages

_NUMBER_TO_WORD = {
0: "zero",
Expand Down
2 changes: 1 addition & 1 deletion src/application/latex_commandifier.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from application.stringifier import Stringifier
from application.helpers import Helpers
from application.latex_ifelse import LatexIfElseBuilder
import application.error_messages as error_messages
from application import error_messages
from domain.result import Result


Expand Down
2 changes: 1 addition & 1 deletion src/application/rounder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from domain.uncertainty import Uncertainty
from domain.value import Value, DecimalPlacesError
from application.helpers import Helpers
import application.error_messages as error_messages
from application import error_messages


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion src/domain/value.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from decimal import Decimal

from application.helpers import Helpers
import application.error_messages as error_messages
from application import error_messages


class DecimalPlacesError(Exception):
Expand Down

0 comments on commit 22d5dc8

Please sign in to comment.