mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-08 05:03:47 -05:00
build(deps): bump dependencies
This commit is contained in:
@@ -5,7 +5,7 @@ default_stages: [commit, manual]
|
|||||||
fail_fast: true
|
fail_fast: true
|
||||||
repos:
|
repos:
|
||||||
- repo: "https://github.com/commitizen-tools/commitizen"
|
- repo: "https://github.com/commitizen-tools/commitizen"
|
||||||
rev: 3.7.0
|
rev: v3.13.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: commitizen
|
- id: commitizen
|
||||||
- id: commitizen-branch
|
- id: commitizen-branch
|
||||||
@@ -26,7 +26,7 @@ repos:
|
|||||||
- id: text-unicode-replacement-char
|
- id: text-unicode-replacement-char
|
||||||
|
|
||||||
- repo: "https://github.com/pre-commit/pre-commit-hooks"
|
- repo: "https://github.com/pre-commit/pre-commit-hooks"
|
||||||
rev: v4.4.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: check-ast
|
- id: check-ast
|
||||||
@@ -54,26 +54,26 @@ repos:
|
|||||||
types: [python]
|
types: [python]
|
||||||
|
|
||||||
- repo: "https://github.com/adrienverge/yamllint.git"
|
- repo: "https://github.com/adrienverge/yamllint.git"
|
||||||
rev: v1.32.0
|
rev: v1.33.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
files: ^.*\.(yaml|yml)$
|
files: ^.*\.(yaml|yml)$
|
||||||
entry: yamllint --strict --config-file .yamllint.yml
|
entry: yamllint --strict --config-file .yamllint.yml
|
||||||
|
|
||||||
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
|
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
|
||||||
rev: "v0.0.286"
|
rev: "v0.1.8"
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: ["--extend-ignore", "I001,D301,D401"]
|
args: ["--extend-ignore", "I001,D301,D401"]
|
||||||
exclude: tests/
|
exclude: tests/
|
||||||
|
|
||||||
- repo: "https://github.com/jendrikseipp/vulture"
|
- repo: "https://github.com/jendrikseipp/vulture"
|
||||||
rev: "v2.9.1"
|
rev: "v2.10"
|
||||||
hooks:
|
hooks:
|
||||||
- id: vulture
|
- id: vulture
|
||||||
|
|
||||||
- repo: "https://github.com/crate-ci/typos"
|
- repo: "https://github.com/crate-ci/typos"
|
||||||
rev: "v1.16.8"
|
rev: "v1.16.25"
|
||||||
hooks:
|
hooks:
|
||||||
- id: typos
|
- id: typos
|
||||||
|
|
||||||
|
|||||||
890
poetry.lock
generated
890
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -661,8 +661,8 @@ class Vault:
|
|||||||
location = self.insert_location
|
location = self.insert_location
|
||||||
|
|
||||||
num_changed = 0
|
num_changed = 0
|
||||||
for _note in self.notes_in_scope:
|
for note in self.notes_in_scope:
|
||||||
if _note.transpose_metadata(
|
if note.transpose_metadata(
|
||||||
begin=begin,
|
begin=begin,
|
||||||
end=end,
|
end=end,
|
||||||
key=key,
|
key=key,
|
||||||
@@ -673,7 +673,7 @@ class Vault:
|
|||||||
|
|
||||||
if num_changed > 0:
|
if num_changed > 0:
|
||||||
self._rebuild_vault_metadata()
|
self._rebuild_vault_metadata()
|
||||||
log.trace(f"Transposed metadata in {_note.note_path}")
|
log.trace(f"Transposed metadata in {note.note_path}")
|
||||||
|
|
||||||
return num_changed
|
return num_changed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user