Skip to content

Commit

Permalink
[pre-commit] pre-commit autoupdate (#43)
Browse files Browse the repository at this point in the history
* [pre-commit] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](astral-sh/ruff-pre-commit@v0.8.6...v0.9.4)
- [github.com/crate-ci/typos: dictgen-v0.3.1 → typos-dict-v0.12.4](crate-ci/typos@dictgen-v0.3.1...typos-dict-v0.12.4)

* [pre-commit] auto fixes from pre-commit hooks

* fix typos version

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schuenke <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and schuenke authored Feb 4, 2025
1 parent c7c66f1 commit 729927f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.4
hooks:
- id: ruff # linter
args: [--fix]
- id: ruff-format # formatter

- repo: https://github.com/crate-ci/typos
rev: dictgen-v0.3.1
rev: v1.29.5
hooks:
- id: typos

Expand Down
2 changes: 1 addition & 1 deletion src/bmctool/utils/seq/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def insert_seq_file_header(filepath: str | Path, author: str) -> None:
new_file.write('# Created for Pulseq-CEST\n')
new_file.write('# https://pulseq-cest.github.io/\n')
new_file.write(f'# Created by: {author}\n')
new_file.write(f"# Created at: {datetime.now().strftime('%d-%b-%Y %H:%M:%S')}\n")
new_file.write(f'# Created at: {datetime.now().strftime("%d-%b-%Y %H:%M:%S")}\n')
new_file.write('\n')
in_position = False
else:
Expand Down

0 comments on commit 729927f

Please sign in to comment.