From 087389c9d93053def72b607426d6a622e16768b5 Mon Sep 17 00:00:00 2001 From: Wouter Vanden Hove Date: Thu, 12 Dec 2024 13:12:46 +0100 Subject: [PATCH] fix ruff --- pyproject.toml | 4 +++- src/httpclient_logging/__init__.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 575f21b..8a9ec57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -206,10 +206,12 @@ commands = # https://beta.ruff.rs/docs/configuration/ # https://github.com/pandas-dev/pandas/blob/main/pyproject.toml cache-dir = "var/cache/ruff" +line-length = 120 + +[tool.ruff.lint] ignore = [ "B011", # B011 Do not call assert False since python -O removes these calls. ] -line-length = 120 [tool.uv.workspace] members = ["var/tmp/demo-uv"] diff --git a/src/httpclient_logging/__init__.py b/src/httpclient_logging/__init__.py index 66bf196..5411510 100644 --- a/src/httpclient_logging/__init__.py +++ b/src/httpclient_logging/__init__.py @@ -2,4 +2,6 @@ __version__ = "1.0" __copyright__ = "Copyright 2023 Libranet - MIT License." -import httpclient_logging.patch \ No newline at end of file +from httpclient_logging import patch + +__all__ = ["patch"] \ No newline at end of file