Skip to content

Commit

Permalink
refactor: remove typeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
TGoddessana committed Feb 11, 2024
1 parent 2e4fe68 commit 11dad1b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 32 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "typeguard" }
- { python: "3.12", os: "ubuntu-latest", session: "xdoctest" }
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" }

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ and are written using the [pytest] testing framework.
Open a [pull request] to submit changes to this project.

warning:: this project is still in its early stages. still, CI-CD workflow is not yet implemented.
so do not worry to much about the test(coverage, mypy, typeguard or etc). our first priority is to get the project have
so do not worry to much about the test(coverage, mypy or etc). our first priority is to get the project have
a stable test workflow.

Feel free to submit early, though—we can always iterate on this.
Expand Down
9 changes: 0 additions & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"pre-commit",
"mypy",
"tests",
"typeguard",
"xdoctest",
"docs-build",
)
Expand Down Expand Up @@ -175,14 +174,6 @@ def coverage(session: Session) -> None:
session.run("coverage", *args)


@session(python=python_versions[0])
def typeguard(session: Session) -> None:
"""Runtime type checking using Typeguard."""
session.install(".")
session.install("pytest", "typeguard", "pygments")
session.run("pytest", f"--typeguard-packages={package}", *session.posargs)


@session(python=python_versions)
def xdoctest(session: Session) -> None:
"""Run examples with xdoctest."""
Expand Down
21 changes: 1 addition & 20 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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ pyupgrade = ">=2.29.1"
sphinx = ">=4.3.2"
sphinx-autobuild = ">=2021.3.14"
sphinx-click = ">=3.0.2"
typeguard = ">=2.13.3"
xdoctest = { extras = ["colors"], version = ">=0.15.10" }
myst-parser = { version = ">=0.16.1" }
ipython = "^8.17.2"
Expand Down

0 comments on commit 11dad1b

Please sign in to comment.