Skip to content

Commit

Permalink
Add isort cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
twmr committed May 14, 2022
1 parent 4e74541 commit 6275eac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[settings]
line_length=90
default_section=THIRDPARTY
no_lines_before=LOCALFOLDER
force_single_line=True
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
4 changes: 2 additions & 2 deletions pytest_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@

import doctest
import enum
from pathlib import Path
import re
import sys
import textwrap
import traceback
from pathlib import Path

import _pytest.doctest
import pytest
from _pytest.doctest import DoctestItem
from _pytest.doctest import _is_mocked
from _pytest.doctest import _patch_unwrap_mock_aware
from _pytest.doctest import DoctestItem
from _pytest.pathlib import import_path


Expand Down
1 change: 1 addition & 0 deletions tests/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import textwrap

import pytest

from pytest_sphinx import _split_into_body_and_options


Expand Down
1 change: 1 addition & 0 deletions tests/test_text_files.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import _pytest.doctest

import pytest_sphinx


Expand Down

0 comments on commit 6275eac

Please sign in to comment.