Skip to content

Commit

Permalink
run fixit and ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 22, 2024
1 parent b8ad1ca commit ec08228
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distro/base/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def printUsage():
E = "\x1b[0;0;0m" # End Format # len=8
print(
f"Usage: python3 {sys.argv[0]} [{U}TERGET_DIR{E}] "
f"[--for-pkg|--portable] "
"[--for-pkg|--portable] "
f"[--prefix={U}/usr/local{E}] "
f"[--python={U}python3.x{E}]",
)
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,10 @@ ignore_names = [
"_*",
"test*",
]

[tool.fixit]
disable = ["fixit.rules.no_namedtuple"]

[[tool.fixit.overrides]]
path = "libs/bson/"
disable = ["fixit.rules"]
2 changes: 1 addition & 1 deletion scal3/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from math import ceil, floor
from typing import Any

Number: typing.TypeAlias = "int | float"
Number: typing.TypeAlias = int | float


def ifloor(x: float) -> int:
Expand Down

0 comments on commit ec08228

Please sign in to comment.