5 Commits

Author SHA1 Message Date
dependabot[bot]
cb6fabc7b5 build(deps-dev): bump coverage from 7.4.0 to 7.4.4
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.0 to 7.4.4.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.0...7.4.4)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 09:25:13 +00:00
Nathaniel Landau
42083f3dc3 build(deps): bump dependencies 2024-01-18 09:26:44 -05:00
dependabot[bot]
64ac9a3ea3 ci(deps): bump actions/labeler from 4 to 5 (#71)
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 11:14:54 -05:00
Nathaniel Landau
8f7d4bb015 build(deps): bump dependencies 2023-12-19 10:55:03 -05:00
dependabot[bot]
ba5693cf61 ci(deps): bump actions/checkout from 3 to 4 (#60)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:28:42 -05:00
10 changed files with 544 additions and 487 deletions

View File

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

View File

@@ -31,7 +31,7 @@ jobs:
github.com:443
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

View File

@@ -37,7 +37,7 @@ jobs:
uploads.github.com:443
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

View File

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

View File

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

View File

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

View File

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

995
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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