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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

# Install dev deps so local hooks (e.g., pyright/pytest via poetry) can run
- name: Install dev dependencies
run: poetry install --no-interaction --with dev
run: poetry install --no-interaction --with dev,docs

# Run the same hooks as locally; include push stage so pre-push hooks run too
- name: Run pre-commit (all files, commit & push stages)
Expand Down
12 changes: 0 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,3 @@ repos:
- id: poetry-check
- id: poetry-lock
- id: poetry-install
- repo: https://github.com/python-poetry/poetry-plugin-export
rev: 1.9.0
hooks:
- id: poetry-export
args:
- "-f" # format
- "requirements.txt"
- "-o"
- "docs/requirements.txt"
- "--with"
- "docs"
- "--without-hashes"
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ mkdocs:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
132 changes: 0 additions & 132 deletions docs/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion poetry.lock

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

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A python package."
authors = [
{name = "Your Name",email = "you@example.com"}
]
license = {text = "BSD3"}
license = "BSD-3-Clause"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
Expand All @@ -24,12 +24,14 @@ dev = [
"pyright (>=1.1.406,<2.0.0)",
"pytest-cov (>=7.0.0,<8.0.0)"
]

docs = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material"
]


[tool.coverage.run]
source = ["package_name"]
omit = [
Expand Down