Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #598

Merged
merged 2 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading