Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Dec 12, 2023
1 parent c796c75 commit 46508f4
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 428 deletions.
4 changes: 3 additions & 1 deletion models/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ def __init__(

async def callback(self, context: miru.ModalContext) -> None:
self.view._last_context = context
self.view.value = SettingValue(raw_perspective_bounds={item.custom_id: value for item, value in context.values.items()}) # type: ignore
self.view.value = SettingValue(
raw_perspective_bounds={item.custom_id: value for item, value in context.values.items()}
) # type: ignore
self.view._input_event.set()
self.view._input_event.clear()

Expand Down
6 changes: 2 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@

@nox.session()
def format_fix(session: nox.Session):
session.install("black")
session.install("ruff")
session.run("python", "-m", "black", *SCRIPT_PATHS)
session.run("python", "-m", "ruff", "format", *SCRIPT_PATHS)
session.run("python", "-m", "ruff", *SCRIPT_PATHS, "--fix")


@nox.session()
def format(session: nox.Session):
session.install("-U", "black")
session.install("-U", "ruff")
session.run("python", "-m", "black", *SCRIPT_PATHS, "--check")
session.run("python", "-m", "ruff", *SCRIPT_PATHS)
session.run("python", "-m", "ruff", "format", *SCRIPT_PATHS, "--check")


# Copyright (C) 2022-present hypergonial
Expand Down
Loading

0 comments on commit 46508f4

Please sign in to comment.