Skip to content

Commit

Permalink
Upgrading ruff (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen authored Mar 5, 2024
1 parent e983516 commit e3c1f29
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 30 deletions.
1 change: 1 addition & 0 deletions logot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/index` usage guide.
"""

from __future__ import annotations

from logot._capture import Captured as Captured
Expand Down
1 change: 1 addition & 0 deletions logot/asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :ref:`index-testing-async` usage guide.
"""

from __future__ import annotations

from logot._asyncio import AsyncioWaiter as AsyncioWaiter
1 change: 1 addition & 0 deletions logot/logged.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/log-pattern-matching` usage guide.
"""

from __future__ import annotations

from logot._logged import critical as critical
Expand Down
1 change: 1 addition & 0 deletions logot/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/log-capturing` usage guide.
"""

from __future__ import annotations

from logot._logging import LoggingCapturer as LoggingCapturer
1 change: 1 addition & 0 deletions logot/loguru.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/integrations/loguru` usage guide.
"""

from __future__ import annotations

from logot._loguru import LoguruCapturer as LoguruCapturer
1 change: 1 addition & 0 deletions logot/structlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/integrations/structlog` usage guide.
"""

from __future__ import annotations

from logot._structlog import StructlogCapturer as StructlogCapturer
1 change: 1 addition & 0 deletions logot/trio.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/integrations/trio` usage guide.
"""

from __future__ import annotations

from logot._trio import TrioWaiter as TrioWaiter
1 change: 1 addition & 0 deletions logot/unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
See :doc:`/using-unittest` usage guide.
"""

from __future__ import annotations

from logot._unittest import LogotTestCase as LogotTestCase
58 changes: 29 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ coverage = "^7.4.1"
furo = { version = "*", python = "^3.12" }
hypothesis = "^6.96.1"
mypy = "^1.8.0"
ruff = "^0.2.1"
ruff = "^0.3.0"
sphinx = { version = "7.2.6", python = "^3.12" }
sphinx-autobuild = { version = "*", python = "^3.12" }
trio-typing = "^0.10.0"
Expand Down

0 comments on commit e3c1f29

Please sign in to comment.