Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.9.1](astral-sh/ruff-pre-commit@v0.8.4...v0.9.1)
- [github.com/PyCQA/bandit: 1.8.0 → 1.8.2](PyCQA/bandit@1.8.0...1.8.2)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 17, 2025
1 parent 84442ce commit 91cf069
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 @@ -32,7 +32,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.9.1
hooks:
# lint & attempt to correct failures (e.g. pyupgrade)
- id: ruff
Expand All @@ -45,7 +45,7 @@ repos:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/PyCQA/bandit
rev: 1.8.0
rev: 1.8.2
hooks:
- id: bandit
args: [--exit-zero]
Expand Down
2 changes: 1 addition & 1 deletion tests/repodata_time_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def repodata_time_machine(channels, timestamp_str, subdirs=None):
timestamp = horizon.timestamp() * 1000
original_dir = os.getcwd()
try:
workdir = f"repodata-{timestamp_str.replace(' ', '-').replace(':','-').replace('.', '-')}"
workdir = f"repodata-{timestamp_str.replace(' ', '-').replace(':', '-').replace('.', '-')}"
os.makedirs(workdir, exist_ok=True)
os.chdir(workdir)
# Download repodata
Expand Down

0 comments on commit 91cf069

Please sign in to comment.