Skip to content

Commit 4b220e1

Browse files
committed
changes in Evolver mandatory
1 parent 015ca8a commit 4b220e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyconlang/evolve/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def lexurgy(self, changes: Path) -> LexurgyClient:
5252
return LexurgyClient.for_changes(changes)
5353

5454
def trace(
55-
self, forms: Sequence[ResolvedForm], *, changes: Path = CHANGES_PATH
55+
self, forms: Sequence[ResolvedForm], *, changes: Path
5656
) -> list[EvolvedWithTrace]:
5757
self.evolve(forms, trace=True, changes=changes)
5858

@@ -68,7 +68,7 @@ def trace(
6868

6969
return result
7070

71-
def get_trace(self, query: Query, *, changes: Path = CHANGES_PATH) -> Trace:
71+
def get_trace(self, query: Query, *, changes: Path) -> Trace:
7272
trace_cache: Mapping[Query, list[TraceLine]] = TupleMappingView(
7373
self.trace_cache, changes
7474
)
@@ -93,7 +93,7 @@ def evolve(
9393
forms: Sequence[ResolvedForm],
9494
*,
9595
trace: bool = False,
96-
changes: Path = CHANGES_PATH,
96+
changes: Path,
9797
) -> list[Evolved]:
9898
cache = TupleMappingView(self.query_cache, changes)
9999
resolved_forms = self.rearrange_forms(forms, changes)
@@ -154,7 +154,7 @@ def evolve_words(
154154
start: str | None = None,
155155
end: str | None = None,
156156
trace: bool = False,
157-
changes: Path = CHANGES_PATH,
157+
changes: Path,
158158
) -> tuple[list[Evolved], Mapping[str, list[TraceLine]]]:
159159
if not words:
160160
return [], {}

0 commit comments

Comments
 (0)