Skip to content

Commit d101462

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent cacfd24 commit d101462

File tree

13 files changed

+42
-39
lines changed

13 files changed

+42
-39
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": "580fb85f461f0818cd0fb314118c0c015f5bf3be",
2+
"_commit": "e1fd2598ee86662bb9d36989718b6277d438af09",
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": "580fb85f461f0818cd0fb314118c0c015f5bf3be",
3+
"commit": "e1fd2598ee86662bb9d36989718b6277d438af09",
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": "580fb85f461f0818cd0fb314118c0c015f5bf3be"
23+
"_commit": "e1fd2598ee86662bb9d36989718b6277d438af09"
2424
}
2525
},
2626
"directory": null

.github/workflows/release-python.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
id: current_version
3434
run: echo "CURRENT_VERSION=v$(uvx --from commitizen cz version -p)" >> $GITHUB_OUTPUT
3535

36-
3736
build_and_testpypi:
3837
name: Build & Publish to TestPyPI
3938
runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ repos:
6767
name: Commitizen
6868
- id: commitizen-branch
6969
name: Commitizen Branch
70-
stages: [ commit-msg ]
70+
stages: [commit-msg]

.vscode/settings.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
"source.organizeImports": "always"
1212
}
1313
},
14-
"ruff.args": [
15-
"--config",
16-
"${workspaceFolder}/.ruff.toml"
17-
],
14+
"ruff.args": ["--config", "${workspaceFolder}/.ruff.toml"],
1815
"python.linting.enabled": true,
1916
"python.linting.ruffEnabled": true,
2017
// Pyright
@@ -36,8 +33,8 @@
3633
"rust-analyzer.checkOnSave.command": "clippy",
3734

3835
// Prettier for non-Python text formats
39-
"[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
36+
"[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
4037
"[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
41-
"[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
38+
"[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
4239
"[markdown]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }
4340
}

CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,20 @@ We welcome pull requests! For significant changes, it's best to open an issue fi
4040
### Setting Up Your Development Environment
4141

4242
1. **Fork and clone the repository:**
43+
4344
```bash
4445
git clone https://github.com/56kyle/robust-python-demo.git
4546
cd robust-python-demo
4647
```
4748

4849
2. **Install dependencies:**
50+
4951
```bash
5052
uv sync
5153
```
5254

5355
3. **Set up pre-commit hooks:**
56+
5457
```bash
5558
uvx nox -s pre-commit -- install
5659
```
@@ -65,6 +68,7 @@ We welcome pull requests! For significant changes, it's best to open an issue fi
6568
### Making Changes
6669

6770
1. **Create a feature branch:**
71+
6872
```bash
6973
git checkout -b feature/your-feature-name
7074
# or
@@ -74,6 +78,7 @@ We welcome pull requests! For significant changes, it's best to open an issue fi
7478
2. **Make your changes** following our coding standards (see below)
7579

7680
3. **Test your changes:**
81+
7782
```bash
7883
# Run the full test suite
7984
uvx nox -s tests-python
@@ -86,6 +91,7 @@ We welcome pull requests! For significant changes, it's best to open an issue fi
8691
```
8792

8893
4. **Check code quality:**
94+
8995
```bash
9096
# Format code
9197
uvx nox -s format-python
@@ -136,6 +142,7 @@ This project follows these standards:
136142

137143
1. **Push your branch** to your fork
138144
2. **Open a pull request** with:
145+
139146
- Clear title describing the change
140147
- Description explaining what and why
141148
- Link to any relevant issues
@@ -190,9 +197,10 @@ Contributors will be recognized in our release notes and documentation. Thank yo
190197

191198
---
192199

193-
*This project was generated from the [cookiecutter-robust-python][cookiecutter-robust-python] template.*
200+
_This project was generated from the [cookiecutter-robust-python][cookiecutter-robust-python] template._
194201

195202
<!-- Reference Links -->
203+
196204
[code-of-conduct]: CODE_OF_CONDUCT.md
197205
[issues]: https://github.com/56kyle/robust-python-demo/issues
198206
[discussions]: https://github.com/56kyle/robust-python-demo/discussions

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ For detailed API documentation and CLI command references, see the **[Documentat
6565

6666
This project uses a robust set of tools for development, testing, and quality assurance. All significant automated tasks are run via [:term:`Nox`](nox-documentation), orchestrated by the central `noxfile.py`.
6767

68-
* **Run all checks (lint, typecheck, security):** `uvx nox -s check`
69-
* **Run test suite with coverage:** `uvx nox -s test`
70-
* **Build documentation:** `uvx nox -s docs`
71-
* **Build package:** `uvx nox -s build`
72-
* **See all available tasks:** `uvx nox -l`
68+
- **Run all checks (lint, typecheck, security):** `uvx nox -s check`
69+
- **Run test suite with coverage:** `uvx nox -s test`
70+
- **Build documentation:** `uvx nox -s docs`
71+
- **Build package:** `uvx nox -s build`
72+
- **See all available tasks:** `uvx nox -l`
7373

7474
Explore the `noxfile.py` and the project documentation for detailed information on the automated workflow.
7575

7676
## Contributing
7777

78-
(This section should guide contributions *to this specific generated project*, not the template. It should refer to the project's `CODE_OF_CONDUCT.md` and link to a `CONTRIBUTING.md` specific to the project, if you choose to generate one.)
78+
(This section should guide contributions _to this specific generated project_, not the template. It should refer to the project's `CODE_OF_CONDUCT.md` and link to a `CONTRIBUTING.md` specific to the project, if you choose to generate one.)
7979
8080
Report bugs or suggest features via the [issue tracker](https://github.com/56kyle/robust-python-demo/issues).
8181
@@ -90,6 +90,6 @@ Distributed under the terms of the **MIT** license. See [LICENSE](LICENSE) for d
9090
**This project was generated from the [cookiecutter-robust-python template][cookiecutter-robust-python].**
9191
9292
<!-- Reference Links -->
93-
[cookiecutter-robust-python]: https://github.com/56kyle/cookiecutter-robust-python
9493
94+
[cookiecutter-robust-python]: https://github.com/56kyle/cookiecutter-robust-python
9595
[documentation]: https://robust-python-demo.readthedocs.io/

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def tests_python(session: Session) -> None:
134134
"--cov-report=term",
135135
"--cov-report=xml",
136136
f"--junitxml={junitxml_file}",
137-
"tests/"
137+
"tests/",
138138
)
139139

140140

pyrightconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
2-
"include": [
3-
"src",
4-
"tests"
5-
],
2+
"include": ["src", "tests"],
63
"exclude": [
74
".venv",
85
"venv",

scripts/get-release-notes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Script responsible for getting the release notes of the robust-python-demo package."""
2+
23
import argparse
34
from pathlib import Path
45

0 commit comments

Comments
 (0)