Skip to content

Commit

Permalink
Merge pull request #14 from rohanpm/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
rohanpm authored Oct 2, 2024
2 parents 0301742 + 61c78fc commit 6c1e83d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
hooks:
- id: black
language_version: python3.11

- repo: https://github.com/pycqa/isort/
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/frnmst/md-toc
rev: 8.1.9
rev: 9.0.0
hooks:
- id: md-toc

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand Down
6 changes: 3 additions & 3 deletions src/buildsys_dateversion/_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ def distribution_name(self) -> str:
@property
def version(self) -> str:
if "dateversion-distribution-version" not in self.config_settings:
self.config_settings[
"dateversion-distribution-version"
] = self._get_version()
self.config_settings["dateversion-distribution-version"] = (
self._get_version()
)
return self.config_settings["dateversion-distribution-version"]

def _get_version(self) -> str:
Expand Down

0 comments on commit 6c1e83d

Please sign in to comment.