diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a47fa8bdf442..572fea18be54 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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) diff --git a/nautilus_trader/adapters/databento/data.py b/nautilus_trader/adapters/databento/data.py index 84a87a8638d4..d4636a7b5a89 100644 --- a/nautilus_trader/adapters/databento/data.py +++ b/nautilus_trader/adapters/databento/data.py @@ -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)