Skip to content

Commit

Permalink
style: pre-commit fixed styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 22, 2024
1 parent a746d7f commit bac5aab
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
from typing import Set

import black
import pytest

import inline_snapshot._external
from .utils import snapshot_env
import pytest
from inline_snapshot import _inline_snapshot
from inline_snapshot._format import format_code
from inline_snapshot._inline_snapshot import Flags
from inline_snapshot._rewrite_code import ChangeRecorder

from .utils import snapshot_env

pytest_plugins = "pytester"


Expand Down
3 changes: 1 addition & 2 deletions tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import textwrap
from pathlib import Path

import pytest

import inline_snapshot._inline_snapshot
import pytest


@pytest.mark.parametrize(
Expand Down
3 changes: 2 additions & 1 deletion tests/test_external.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import ast

from .utils import raises
from inline_snapshot import external
from inline_snapshot import outsource
from inline_snapshot import snapshot

from .utils import raises
from tests.utils import config


Expand Down
4 changes: 2 additions & 2 deletions tests/test_inline_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import pytest
from hypothesis import given
from hypothesis.strategies import text

from .utils import snapshot_env
from inline_snapshot import _inline_snapshot
from inline_snapshot import snapshot
from inline_snapshot._inline_snapshot import Flags
from inline_snapshot._inline_snapshot import triple_quote

from .utils import snapshot_env


def test_snapshot_eq():
with snapshot_env():
Expand Down
1 change: 0 additions & 1 deletion tests/test_rewrite_code.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest

from inline_snapshot._rewrite_code import ChangeRecorder
from inline_snapshot._rewrite_code import end_of
from inline_snapshot._rewrite_code import range_of
Expand Down
3 changes: 1 addition & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import contextlib
from contextlib import contextmanager

import pytest

import inline_snapshot._config as _config
import inline_snapshot._external as external
import inline_snapshot._inline_snapshot as inline_snapshot
import pytest
from inline_snapshot._rewrite_code import ChangeRecorder


Expand Down

0 comments on commit bac5aab

Please sign in to comment.