Skip to content

Commit

Permalink
remove bmipy.cmd bmipy._cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Jan 8, 2024
1 parent 7d0e591 commit 2e70439
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dynamic = [
text = "MIT"

[project.scripts]
bmipy-render = "bmipy.cmd:main"
bmipy-render = "bmipy._cmd:main"

[project.urls]
documentation = "https://bmi.readthedocs.io"
Expand Down
2 changes: 1 addition & 1 deletion src/bmipy/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""The bmipy-render command."""
from __future__ import annotations

from bmipy.cmd import main
from bmipy._cmd import main

if __name__ == "__main__":
raise SystemExit(main())
File renamed without changes.
2 changes: 1 addition & 1 deletion src/bmipy/_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _render_func(self, name: str) -> str:
return textwrap.indent(os.linesep.join(parts), " ")


def dedent_docstring(text: str | None, tabsize=4) -> str:
def dedent_docstring(text: str | None, tabsize: int = 4) -> str:
"""Dedent a docstring, ignoring indentation of the first line.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion tests/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys

import pytest
from bmipy.cmd import main
from bmipy._cmd import main


def test_cli_version(capsys):
Expand Down

0 comments on commit 2e70439

Please sign in to comment.