Skip to content
Merged
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
135 changes: 104 additions & 31 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pretext/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
from .. import resources
from .. import VERSION


# If we want to always spit out log messages to stdout even when this module is imported as a library, we could do so with the following two lines:
# from .. import logger
# log = logger.log
Expand Down
1 change: 0 additions & 1 deletion pretext/project/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import shutil
from .. import core


log = logging.getLogger("ptxlogger")


Expand Down
2 changes: 1 addition & 1 deletion pretext/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RunningServerInfo:
@staticmethod
def from_file_line(line: str) -> RunningServerInfo:
try:
(path_hash, pid, port, binding) = line.split()
path_hash, pid, port, binding = line.split()
except ValueError:
# We only call this function when line.strip() is true, so line is not empty
log.debug(f"Invalid line in running servers file: {line}")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ citeproc-py = "^0"
# Development dependencies
# ------------------------
[tool.poetry.group.dev.dependencies]
black = "^24.10"
black = ">=24.10,<27.0"
codechat-server = "^0"
flake8 = "^6"
lxml-stubs = "^0"
Expand Down
1 change: 0 additions & 1 deletion tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from .common import DEMO_MAPPING, EXAMPLES_DIR, check_installed


TEMPLATES_DIR = Path(__file__).parent.parent / "templates"
HAS_XELATEX = check_installed(["xelatex", "--version"])

Expand Down
Loading