Skip to content

Commit

Permalink
bring back combine-as-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jpt-sn committed Jan 10, 2025
1 parent cb77e17 commit 92dc359
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/tape_improver/tape_improver.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
from tapeagents.team import Chain, TeamTape
from tapeagents.view import Call, Respond

from ..data_science.data_science import make_renderers
from ..data_science.data_science import make_world as data_science_make_world
from ..data_science.data_science import make_renderers, make_world as data_science_make_world

### Prompts ###

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ extend-select = [
"I", # isort
]

[tool.ruff.lint.isort]
combine-as-imports = true

[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
Expand Down
2 changes: 0 additions & 2 deletions tests/examples/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
from examples.delegate import ExampleTape, FindIrregularVerbs
from examples.delegate_stack import (
ExampleTape as ExampleTapeStack,
)
from examples.delegate_stack import (
Linguist,
make_analyze_text_chain,
)
Expand Down

0 comments on commit 92dc359

Please sign in to comment.