Skip to content

Commit

Permalink
Merge pull request #307 from dbatten5/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
dbatten5 committed Jan 12, 2024
2 parents 22b0677 + 18a0c4f commit f8ad98f
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 174 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- { python: "3.11", os: windows-latest, session: "tests" }
# - { python: "3.11", os: macos-latest, session: "tests" }
- { python: "3.11", os: ubuntu-latest, session: "typeguard" }
- { python: "3.11", os: ubuntu-latest, session: "xdoctest" }
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }

env:
Expand Down
15 changes: 0 additions & 15 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,21 +157,6 @@ def typeguard(session: Session) -> None:
session.run("pytest", f"--typeguard-packages={package}", *session.posargs)


@session(python=python_versions)
def xdoctest(session: Session) -> None:
"""Run examples with xdoctest."""
if session.posargs:
args = [package, *session.posargs]
else:
args = [f"--modname={package}", "--command=all"]
if "FORCE_COLOR" in os.environ:
args.append("--colored=1")

session.install(".")
session.install("xdoctest[colors]")
session.run("python", "-m", "xdoctest", package, *args)


@session(name="docs-build", python=python_versions[0])
def docs_build(session: Session) -> None:
"""Build the documentation."""
Expand Down
Loading

0 comments on commit f8ad98f

Please sign in to comment.