build(deps): bump dependencies

This commit is contained in:
Nathaniel Landau
2023-12-19 10:55:03 -05:00
parent ba5693cf61
commit 8f7d4bb015
3 changed files with 462 additions and 446 deletions

View File

@@ -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

File diff suppressed because it is too large Load Diff

View File

@@ -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