Skip to content

Commit

Permalink
Update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Dec 17, 2023
1 parent 357973e commit 23fbb4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ repos:
exclude: "docs/_pygments/monokai.py"

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
rev: v0.1.8
hooks:
- id: ruff
args: ["--fix"]

- repo: https://github.com/pycqa/isort
rev: 5.13.1
rev: 5.13.2
hooks:
- id: isort
name: isort (cython)
Expand Down
4 changes: 2 additions & 2 deletions nautilus_trader/adapters/databento/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ async def _request_instruments(
record=record,
publishers=self._loader.publishers(),
)
except ValueError as ex:
self._log.error(repr(ex))
except ValueError as e:
self._log.error(repr(e))
continue

instruments.append(instrument)
Expand Down

0 comments on commit 23fbb4b

Please sign in to comment.