fix: use symlink for txt files
Python Lint CI / ruff-format-check (push) Has been cancelled
Python Lint CI / ty (push) Has been cancelled
Python Lint CI / ruff (push) Has been cancelled

This commit is contained in:
2026-06-16 11:08:33 +02:00
parent 78c5c56220
commit ce53920340
4 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from cool_domain.word_list import WordList
LANGS: dict[str, WordList] = {
"english": WordList("english", "english/words_alpha.txt"),
"french": WordList("french", "french/francais.txt"),
"english": WordList("english", "english.txt"),
"french": WordList("french", "french.txt"),
}
+1
View File
@@ -0,0 +1 @@
../english/words_alpha.txt
+1
View File
@@ -0,0 +1 @@
../french/francais.txt
+1 -1
View File
@@ -11,7 +11,7 @@ class WordList:
def __init__(self, name: str, path: str) -> None:
self.logger: logging.Logger = logging.getLogger(self.__class__.__name__)
self.__name = name
self.__filepath = pathlib.Path(__file__).parent / ".." / path
self.__filepath = pathlib.Path(__file__).parent / path
self.words: list[str] = []
def open(self) -> None: