Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix incorrect path #776

Merged
merged 2 commits into from
Jun 28, 2024
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ script_launch_mode = "subprocess"
# This section `must <https://mypy.readthedocs.io/en/stable/config_file.html#config-file-format>`_ be present.
[tool.mypy]
# See `files <https://mypy.readthedocs.io/en/stable/config_file.html#confval-files>`_.
files = "pretext,scripts,tests"
files = "pretext,tests"
exclude = ["^pretext/core/pretext\\.py$", "^pretext/core/__init__\\.py$"]
check_untyped_defs = true
disallow_untyped_defs = true
Expand Down
2 changes: 1 addition & 1 deletion scripts/symlink_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def main(core_path: Path = Path("../pretext")) -> None:

# Remove the current pretext/core/pretext.py file
script_link_path = Path("pretext").resolve() / "core" / "pretext.py"
script_core_path = core_path / "pretext" / "core" / "pretext.py"
script_core_path = core_path / "pretext" / "pretext.py"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah. :-)

utils.remove_path(script_link_path)
# Link to the local core python script
script_link_path.symlink_to(script_core_path)
Expand Down
Loading