mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-16 08:53:48 -05:00
Compare commits
5 Commits
v0.12.1
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c19e2a99a4 | ||
|
|
42083f3dc3 | ||
|
|
64ac9a3ea3 | ||
|
|
8f7d4bb015 | ||
|
|
ba5693cf61 |
2
.github/workflows/automated-tests.yml
vendored
2
.github/workflows/automated-tests.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
uploader.codecov.io:443
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python and Poetry
|
||||
uses: ./.github/actions/setup-poetry
|
||||
|
||||
2
.github/workflows/commit-linter.yml
vendored
2
.github/workflows/commit-linter.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
github.com:443
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
2
.github/workflows/create-release.yml
vendored
2
.github/workflows/create-release.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
uploads.github.com:443
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
2
.github/workflows/devcontainer-checker.yml
vendored
2
.github/workflows/devcontainer-checker.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
webi.sh:443
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build and run dev container task
|
||||
uses: devcontainers/ci@v0.3
|
||||
|
||||
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@@ -18,6 +18,6 @@ jobs:
|
||||
api.github.com:443
|
||||
github.com:443
|
||||
|
||||
- uses: actions/labeler@v4
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
2
.github/workflows/pypi-release.yml
vendored
2
.github/workflows/pypi-release.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
upload.pypi.org:443
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python and Poetry
|
||||
uses: ./.github/actions/setup-poetry
|
||||
|
||||
@@ -5,7 +5,7 @@ default_stages: [commit, manual]
|
||||
fail_fast: true
|
||||
repos:
|
||||
- repo: "https://github.com/commitizen-tools/commitizen"
|
||||
rev: 3.7.0
|
||||
rev: v3.13.0
|
||||
hooks:
|
||||
- id: commitizen
|
||||
- id: commitizen-branch
|
||||
@@ -26,7 +26,7 @@ repos:
|
||||
- id: text-unicode-replacement-char
|
||||
|
||||
- repo: "https://github.com/pre-commit/pre-commit-hooks"
|
||||
rev: v4.4.0
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-ast
|
||||
@@ -54,26 +54,26 @@ repos:
|
||||
types: [python]
|
||||
|
||||
- repo: "https://github.com/adrienverge/yamllint.git"
|
||||
rev: v1.32.0
|
||||
rev: v1.33.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
files: ^.*\.(yaml|yml)$
|
||||
entry: yamllint --strict --config-file .yamllint.yml
|
||||
|
||||
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
|
||||
rev: "v0.0.286"
|
||||
rev: "v0.1.13"
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: ["--extend-ignore", "I001,D301,D401"]
|
||||
exclude: tests/
|
||||
|
||||
- repo: "https://github.com/jendrikseipp/vulture"
|
||||
rev: "v2.9.1"
|
||||
rev: "v2.10"
|
||||
hooks:
|
||||
- id: vulture
|
||||
|
||||
- repo: "https://github.com/crate-ci/typos"
|
||||
rev: "v1.16.8"
|
||||
rev: "v1.17.1"
|
||||
hooks:
|
||||
- id: typos
|
||||
|
||||
|
||||
999
poetry.lock
generated
999
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -41,14 +41,14 @@
|
||||
commitizen = "^3.7.0"
|
||||
coverage = "^7.3.0"
|
||||
interrogate = "^1.5.0"
|
||||
mypy = "^1.5.1"
|
||||
mypy = "^1.8.0"
|
||||
pdoc = "^14.0.0"
|
||||
poethepoet = "^0.22.0"
|
||||
pre-commit = "^3.3.3"
|
||||
ruff = "^0.0.286"
|
||||
ruff = "^0.1.13"
|
||||
sh = "^2.0.6"
|
||||
types-python-dateutil = "^2.8.19.14"
|
||||
typos = "^1.16.9"
|
||||
typos = "^1.17.1"
|
||||
vulture = "^2.9.1"
|
||||
|
||||
[tool.black]
|
||||
|
||||
@@ -661,8 +661,8 @@ class Vault:
|
||||
location = self.insert_location
|
||||
|
||||
num_changed = 0
|
||||
for _note in self.notes_in_scope:
|
||||
if _note.transpose_metadata(
|
||||
for note in self.notes_in_scope:
|
||||
if note.transpose_metadata(
|
||||
begin=begin,
|
||||
end=end,
|
||||
key=key,
|
||||
@@ -673,7 +673,7 @@ class Vault:
|
||||
|
||||
if num_changed > 0:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user