Skip to content

Commit ff01f45

Browse files
renovate[bot]NextFire
authored andcommitted
chore(deps): update dependency ruff to v0.16.0
1 parent 65c1767 commit ff01f45

9 files changed

Lines changed: 175 additions & 173 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = [
2222
]
2323

2424
[dependency-groups]
25-
dev = ["pyright==1.1.411", "ruff==0.15.22", "textual-dev==1.8.0"]
25+
dev = ["pyright==1.1.411", "ruff==0.16.0", "textual-dev==1.8.0"]
2626

2727
[project.scripts]
2828
sachi = "sachi:cli_app"
@@ -42,3 +42,4 @@ pythonVersion = "3.12"
4242

4343
[tool.ruff.lint]
4444
extend-select = ["I"]
45+
ignore = ["RUF012"]

sachi/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class SachiApp(App):
1919
("q", "quit", "Quit"),
2020
]
2121

22-
def __init__(self, file_or_dir: Path = Path.cwd(), **kwargs):
22+
def __init__(self, file_or_dir: Path | None = None, **kwargs):
2323
super().__init__(**kwargs)
24-
self.file_or_dir = file_or_dir
24+
self.file_or_dir = file_or_dir or Path.cwd()
2525

2626
def on_mount(self):
2727
config = read_config()

0 commit comments

Comments
 (0)