Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/example_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import sys

from refex import cli
from refex import formatting
from refex import search
from refex.python import syntactic_template
from refex.python.matchers import syntax_matchers
Expand Down
2 changes: 0 additions & 2 deletions examples/example_custom_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

from refex.python import matcher
from refex.python.matchers import base_matchers
from refex import search
from refex import match


@attr.s(frozen=True)
Expand Down
3 changes: 2 additions & 1 deletion examples/test_example_custom_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
# limitations under the License.
"""Tests for refex.examples.example_custom_matcher."""

from refex.examples import example_custom_matcher
from absl.testing import absltest

from refex import search
from refex.examples import example_custom_matcher
from refex.python import syntactic_template


Expand Down
7 changes: 0 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ docs = ["m2r", "sphinx"]

[tool.isort]
profile = "google"
# Upstream version within Google actually uses contextlib2 and mock for Python 2
# compatibility, and this is transformed away by copybara.
# Adding contextlib2 to the stdlib makes the sorting correct in the canonical
# github version even when run on the upstream version pre-copybara. Adding
# mock... doesn't help as much (sorts as "mock", not "unittest").
# These can both go away starting in 2021.
extra_standard_library = ["contextlib2", "mock"]

# https://tox.readthedocs.io/
[tool.tox]
Expand Down
Loading