Skip to content

Commit c30c97f

Browse files
committed
deps and lint
1 parent 8f8061f commit c30c97f

File tree

5 files changed

+39
-39
lines changed

5 files changed

+39
-39
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ci:
22
skip: ["eslint"]
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.7.4
5+
rev: v0.8.0
66
hooks:
77
- id: ruff
88
args: ["--fix"]
@@ -24,7 +24,7 @@ repos:
2424
require_serial: true
2525
additional_dependencies:
2626
27-
- "prettier-plugin-svelte@3.2.8"
27+
- "prettier-plugin-svelte@3.3.2"
2828
2929
- id: stylelint
3030
name: stylelint

constraints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ rich==13.9.4
256256
# via twine
257257
secretstorage==3.3.3
258258
# via keyring
259-
setuptools==75.5.0
259+
setuptools==75.6.0
260260
# via
261261
# fava (pyproject.toml)
262262
# pyinstaller
@@ -317,7 +317,7 @@ tox-uv==1.16.0
317317
# via fava (pyproject.toml)
318318
twine==5.1.1
319319
# via fava (pyproject.toml)
320-
types-setuptools==75.5.0.20241116
320+
types-setuptools==75.5.0.20241122
321321
# via fava (pyproject.toml)
322322
types-simplejson==3.19.0.20240801
323323
# via fava (pyproject.toml)
@@ -334,7 +334,7 @@ urllib3==2.2.3
334334
# via
335335
# requests
336336
# twine
337-
uv==0.5.2
337+
uv==0.5.4
338338
# via tox-uv
339339
virtualenv==20.27.1
340340
# via

frontend/package-lock.json

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_core_fava_options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ def test_fava_options(load_doc_custom_entries: list[Custom]) -> None:
6565
assert options.insert_entry == [
6666
InsertEntryOption(
6767
datetime.date(2016, 4, 14),
68-
re.compile("Ausgaben:Test"),
68+
re.compile(r"Ausgaben:Test"),
6969
"<string>",
7070
6,
7171
),
7272
]
7373
assert options.show_closed_accounts
7474
assert options.currency_column == 10
75-
assert options.collapse_pattern == [re.compile("Account:Name")]
75+
assert options.collapse_pattern == [re.compile(r"Account:Name")]
7676
assert options.fiscal_year_end == FiscalYearEnd(1, 11)
7777
assert options.conversion_currencies == ("USD", "EUR", "HOOLI")
7878
assert options.default_file == str(Path("/some/file/name").absolute())

tests/test_core_file.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ def test_insert_entry_transaction(tmp_path: Path) -> None:
300300
# transaction dates are ignored.
301301
options = [
302302
InsertEntryOption(
303-
date(2015, 1, 1), re.compile(".*:Food"), str(samplefile), 1
303+
date(2015, 1, 1), re.compile(r".*:Food"), str(samplefile), 1
304304
),
305305
InsertEntryOption(
306-
date(2015, 1, 2), re.compile(".*:FOOO"), str(samplefile), 1
306+
date(2015, 1, 2), re.compile(r".*:FOOO"), str(samplefile), 1
307307
),
308308
InsertEntryOption(
309-
date(2017, 1, 1), re.compile(".*:Food"), str(samplefile), 6
309+
date(2017, 1, 1), re.compile(r".*:Food"), str(samplefile), 6
310310
),
311311
]
312312
path, new_options = insert_entry(
@@ -338,10 +338,10 @@ def test_insert_entry_transaction(tmp_path: Path) -> None:
338338
# the last posting doesn't match.
339339
options = [
340340
InsertEntryOption(
341-
date(2015, 1, 1), re.compile(".*:Slate"), str(samplefile), 5
341+
date(2015, 1, 1), re.compile(r".*:Slate"), str(samplefile), 5
342342
),
343343
InsertEntryOption(
344-
date(2015, 1, 2), re.compile(".*:FOOO"), str(samplefile), 1
344+
date(2015, 1, 2), re.compile(r".*:FOOO"), str(samplefile), 1
345345
),
346346
]
347347
new_transaction = replace(transaction, narration="narr2")
@@ -377,10 +377,10 @@ def test_insert_entry_transaction(tmp_path: Path) -> None:
377377
# case several of them match a posting.
378378
options = [
379379
InsertEntryOption(
380-
date(2015, 1, 1), re.compile(".*:Food"), str(samplefile), 5
380+
date(2015, 1, 1), re.compile(r".*:Food"), str(samplefile), 5
381381
),
382382
InsertEntryOption(
383-
date(2015, 1, 2), re.compile(".*:Food"), str(samplefile), 1
383+
date(2015, 1, 2), re.compile(r".*:Food"), str(samplefile), 1
384384
),
385385
]
386386
new_transaction = replace(transaction, narration="narr3")

0 commit comments

Comments
 (0)