Skip to content

Commit

Permalink
Update ruff and fix linting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Apr 29, 2024
1 parent bb2cdfa commit 7ad1378
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
Expand Up @@ -26,7 +26,7 @@ repos:
# Formatters: hooks that re-write Python and RST files
#####################################################################################
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -51,7 +51,7 @@ repos:

# Lint Dockerfiles for errors and to ensure best practices
- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.1-beta
rev: v2.12.1b3
hooks:
- id: hadolint

Expand Down
2 changes: 1 addition & 1 deletion src/pudl_archiver/__init__.py
Expand Up @@ -60,7 +60,7 @@ async def on_response_chunk_received(session, trace_config_ctx, params):

async def on_request_end(session, trace_config_ctx, params):
logger.debug(f"Ending request {params.url}: response {params.response.status}")
logger.debug("Sent headers: %s" % params.response.request_info.headers)
logger.debug(f"Sent headers: {params.response.request_info.headers}")

trace_config = aiohttp.TraceConfig()
trace_config.on_request_start.append(on_request_start)
Expand Down

0 comments on commit 7ad1378

Please sign in to comment.