Skip to content

Commit e0780a5

Browse files
authored
Merge pull request #34 from 56kyle/release/0.25.0
Release/0.25.0
2 parents b776f9b + 4ad598e commit e0780a5

File tree

7 files changed

+20
-19
lines changed

7 files changed

+20
-19
lines changed

.cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "f46d0e9611ca496d3600e43343a01dcfb86caee6",
2+
"_commit": "c6577daf23a9972a456f2331e679b07c049a264a",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "f46d0e9611ca496d3600e43343a01dcfb86caee6",
3+
"commit": "c6577daf23a9972a456f2331e679b07c049a264a",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -20,7 +20,7 @@
2020
"license": "MIT",
2121
"development_status": "Development Status :: 1 - Planning",
2222
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
23-
"_commit": "f46d0e9611ca496d3600e43343a01dcfb86caee6"
23+
"_commit": "c6577daf23a9972a456f2331e679b07c049a264a"
2424
}
2525
},
2626
"directory": null

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## v0.25.0 (2025-09-18)
2+
13
## v0.24.0 (2025-08-01)
24

35
## v0.23.0 (2025-08-01)

noxfile.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,10 @@
3939
TEST: str = "test"
4040
COVERAGE: str = "coverage"
4141
SECURITY: str = "security"
42-
PERF: str = "perf"
4342
DOCS: str = "docs"
4443
BUILD: str = "build"
4544
RELEASE: str = "release"
4645
QUALITY: str = "quality"
47-
PYTHON: str = "python"
48-
RUST: str = "rust"
4946

5047

5148
@nox.session(python=False, name="setup-git", tags=[ENV])
@@ -88,21 +85,21 @@ def precommit(session: Session) -> None:
8885
activate_virtualenv_in_precommit_hooks(session)
8986

9087

91-
@nox.session(python=False, name="format-python", tags=[FORMAT, PYTHON, QUALITY])
88+
@nox.session(python=False, name="format-python", tags=[FORMAT, QUALITY])
9289
def format_python(session: Session) -> None:
9390
"""Run Python code formatter (Ruff format)."""
9491
session.log(f"Running Ruff formatter check with py{session.python}.")
9592
session.run("uvx", "ruff", "format", *session.posargs)
9693

9794

98-
@nox.session(python=False, name="lint-python", tags=[LINT, PYTHON, QUALITY])
95+
@nox.session(python=False, name="lint-python", tags=[LINT, QUALITY])
9996
def lint_python(session: Session) -> None:
10097
"""Run Python code linters (Ruff check, Pydocstyle rules)."""
10198
session.log(f"Running Ruff check with py{session.python}.")
10299
session.run("uvx", "ruff", "check", "--fix", "--verbose")
103100

104101

105-
@nox.session(python=PYTHON_VERSIONS, name="typecheck", tags=[TYPE, PYTHON])
102+
@nox.session(python=PYTHON_VERSIONS, name="typecheck")
106103
def typecheck(session: Session) -> None:
107104
"""Run static type checking (Pyright) on Python code."""
108105
session.log("Installing type checking dependencies...")
@@ -112,7 +109,7 @@ def typecheck(session: Session) -> None:
112109
session.run("pyright", "--pythonversion", session.python)
113110

114111

115-
@nox.session(python=False, name="security-python", tags=[SECURITY, PYTHON])
112+
@nox.session(python=False, name="security-python", tags=[SECURITY])
116113
def security_python(session: Session) -> None:
117114
"""Run code security checks (Bandit) on Python code."""
118115
session.log(f"Running Bandit static security analysis with py{session.python}.")
@@ -122,7 +119,7 @@ def security_python(session: Session) -> None:
122119
session.run("uvx", "pip-audit")
123120

124121

125-
@nox.session(python=PYTHON_VERSIONS, name="tests-python", tags=[TEST, PYTHON])
122+
@nox.session(python=PYTHON_VERSIONS, name="tests-python", tags=[TEST])
126123
def tests_python(session: Session) -> None:
127124
"""Run the Python test suite (pytest with coverage)."""
128125
session.log("Installing test dependencies...")
@@ -160,7 +157,7 @@ def docs_build(session: Session) -> None:
160157
session.run("sphinx-build", "-b", "html", "docs", str(docs_build_dir), "-W")
161158

162159

163-
@nox.session(python=False, name="build-python", tags=[BUILD, PYTHON])
160+
@nox.session(python=False, name="build-python", tags=[BUILD])
164161
def build_python(session: Session) -> None:
165162
"""Build sdist and wheel packages (uv build)."""
166163
session.log(f"Building sdist and wheel packages with py{session.python}.")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "robust-python-demo"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
description = "robust-python-demo"
55
authors = [
66
{ name = "Kyle Oliver", email = "56kyleoliver+cookiecutter-robust-python@gmail.com" },

scripts/setup-remote.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ def setup_remote(path: Path, repository_host: str, repository_path: str) -> None
3737

3838

3939
def get_parser() -> argparse.ArgumentParser:
40-
"""Creates the argument parser for setup-git."""
40+
"""Creates the argument parser for setup-remote."""
4141
parser: argparse.ArgumentParser = argparse.ArgumentParser(
42-
prog="setup-git",
43-
usage="python ./scripts/setup-remote.py . -h github.com -p 56kyle/robust-python-demo",
42+
prog="setup-remote",
43+
usage="python ./scripts/setup-remote.py . --host github.com --path 56kyle/robust-python-demo",
4444
description="Set up the provided cookiecutter-robust-python project's remote repo connection.",
4545
)
4646
parser.add_argument(
@@ -49,9 +49,11 @@ def get_parser() -> argparse.ArgumentParser:
4949
metavar="PATH",
5050
help="Path to the repo's root directory (must already exist).",
5151
)
52-
parser.add_argument("-h", "--host", dest="repository_host", help="Repository host (e.g., github.com, gitlab.com).")
5352
parser.add_argument(
54-
"-p", "--path", dest="repository_path", help="Repository path (e.g., user/repo, group/subgroup/repo)."
53+
"--host", dest="repository_host", help="Repository host (e.g., github.com, gitlab.com)."
54+
)
55+
parser.add_argument(
56+
"--path", dest="repository_path", help="Repository path (e.g., user/repo, group/subgroup/repo)."
5557
)
5658
return parser
5759

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)