Skip to content
Open
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 .cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_commit": "e3e4bd38305f544bffe1025111aa2981f1e51714",
"_commit": "875793cc238aafeaa3bffe4e4b9ed49e1153e4ff",
"_max_python_version_minor_int": 14,
"_min_python_version_minor_int": 10,
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
Expand Down
4 changes: 2 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
"commit": "e3e4bd38305f544bffe1025111aa2981f1e51714",
"commit": "875793cc238aafeaa3bffe4e4b9ed49e1153e4ff",
"checkout": null,
"context": {
"cookiecutter": {
Expand All @@ -20,7 +20,7 @@
"license": "MIT",
"development_status": "Development Status :: 1 - Planning",
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
"_commit": "e3e4bd38305f544bffe1025111aa2981f1e51714",
"_commit": "875793cc238aafeaa3bffe4e4b9ed49e1153e4ff",
"_min_python_version_minor_int": 10,
"_max_python_version_minor_int": 14,
"python_versions": [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up uv
uses: astral-sh/setup-uv@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
fetch-tags: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
tag: ${{ steps.current_version.outputs.CURRENT_VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up uv
uses: astral-sh/setup-uv@v6
Expand All @@ -43,7 +43,7 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up uv
uses: astral-sh/setup-uv@v6
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- { python: "3.14", os: "windows-latest" }
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typecheck-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up uv
uses: astral-sh/setup-uv@v6
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ Distributed under the terms of the **MIT** license. See [LICENSE](LICENSE) for d

[cookiecutter-robust-python]: https://github.com/robust-python/cookiecutter-robust-python
[documentation]: https://robust-python-demo.readthedocs.io/
[pip-documentation]: https://pip.pypa.io/en/stable/
[nox-documentation]: https://nox.thea.codes/en/stable/
[uv-documentation]: https://docs.astral.sh/uv/
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def setup_git(session: Session) -> None:
@nox.session(python=False, name="setup-remote")
def setup_remote(session: Session) -> None:
"""Set up the remote repository for the current project."""
command: list[str] = [
command: list[str | Path] = [
"python",
SCRIPTS_FOLDER / "setup-remote.py",
REPO_ROOT,
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,16 @@ docs = [
"sphinxcontrib-typer>=0.5.1",
]

[project.scripts]
robust-python-demo = "robust_python_demo.__main__:app"

[project.urls]
Homepage = "https://github.com/56kyle/robust-python-demo"
Repository = "https://github.com/56kyle/robust-python-demo"

[tool.uv]
exclude-newer = "1 week"

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
Expand Down
2 changes: 2 additions & 0 deletions pyrightconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
},
"reportMissingImports": true,
"reportMissingTypeStubs": true,
"reportUnusedCallResult": false,
"reportUnusedImport": false,

"reportGeneralTypeIssues": "warning",
"reportPropertyTypeMismatch": "warning",
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def setup_release(increment: Optional[str] = None) -> None:
raise error


def _setup_release(increment: str, current_version: str, new_version: str) -> None:
def _setup_release(increment: Optional[str], current_version: str, new_version: str) -> None:
"""Prepares a release of the robust-python-demo package.

Sets up a release branch from the branch develop, bumps the version, and creates a release commit. Does not tag the
Expand Down
Loading
Loading