Skip to content

Commit 1686ca8

Browse files
committed
Hotfix: small adjustments to the release
1 parent 6a920a8 commit 1686ca8

File tree

10 files changed

+10
-11
lines changed

10 files changed

+10
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022, Eric Lopes
3+
Copyright (c) 2022, eol
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Distributed under the MIT License. See [`LICENSE`](https://github.com/nullhack/p
144144
<!-- CONTACT -->
145145
## Contact
146146

147-
Eric Lopes - [@nullhack](https://github.com/nullhack)
147+
eol - [@nullhack](https://github.com/nullhack)
148148

149149
Project Link: [https://github.com/nullhack/python-project-template/](https://github.com/nullhack/python-project-template/)
150150

@@ -161,7 +161,7 @@ This project was heavily based on some great references.
161161
* [Best practices for Python projects in 2021](https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/)
162162
* [5 Pytest Best Practices for Writing Great Python Tests](https://www.nerdwallet.com/blog/engineering/5-pytest-best-practices/)
163163
* [Best-README-Template](https://github.com/othneildrew/Best-README-Template)
164-
* [Beyond Hypermodern: Python is easy now](https://rdrn.me/postmodern-python/)
164+
* [Beyond Hypermodern: Python is easy now (2024)](https://rdrn.me/postmodern-python/)
165165

166166
<p align="right">(<a href="#top">back to top</a>)</p>
167167

cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"full_name": "Eric Lopes",
2+
"full_name": "eol",
33
"email": "[email protected]",
44
"github_username": "nullhack",
55
"project_name": "Python Project Example",

hooks/post_gen_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from pathlib import Path
1414

1515
REMOVE_PATHS = [
16-
"bdd-features",
16+
"acceptance-scenarios",
1717
"tests/scenarios/steps",
1818
]
1919

{{cookiecutter.project_slug}}/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN pip install --no-cache uv taskipy
1111

1212
COPY ./ ./
1313

14-
RUN pip install -e '.[dev]'
14+
RUN pip install '.[dev]'
1515

1616
ARG TESTBUILD=True
1717
ENV TESTBUILD=$TESTBUILD

{{cookiecutter.project_slug}}/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ This Project depends on the following projects.
9999
```
100100
3. Install requirements for development
101101
```sh
102+
uv venv
102103
uv pip install '.[dev]'
103104
```
104105
4. Run tests
@@ -200,7 +201,7 @@ Project Link: [https://github.com/{{cookiecutter.github_username}}/{{cookiecutte
200201

201202
This project was created using cookiecutter and Nullhack's python-project-template:
202203

203-
* [NullHack's python-project-template](https://github.com/nullhack/python-project-template/)
204+
* [Nullhack's python-project-template](https://github.com/nullhack/python-project-template/)
204205

205206
<p align="right">(<a href="#top">back to top</a>)</p>
206207

{{cookiecutter.project_slug}}/acceptance-criteria/simple_calculation.feature renamed to {{cookiecutter.project_slug}}/acceptance-scenarios/simple_calculation.feature

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{%- if cookiecutter.include_examples == "true" -%}
21
Feature: divide
32
The user should be able to divide two numbers.
43

@@ -14,4 +13,3 @@ Feature: divide
1413
| 2.0 | 2.0 | 1.0 |
1514
| 6.0 | 2.0 | 3.0 |
1615
| 1.0 | 2.0 | 0.5 |
17-
{% endif %}

{{cookiecutter.project_slug}}/docs/gen_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"Background:",
3131
)
3232
ignore_lines = ("@", "#")
33-
features_dir = docs_parent_dir / "acceptance-criteria"
33+
features_dir = docs_parent_dir / "acceptance-scenarios"
3434
for feature_path in features_dir.glob("**/*.feature"):
3535
with Path.open(feature_path, "r") as f:
3636
relative_dir = feature_path.parent.relative_to(features_dir)

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ testpaths = [
9494
python_files = ["*_test.py"]
9595
python_functions = ["test_*"]
9696
render_collapsed = true
97-
bdd_features_base_dir = "acceptance-criteria"
97+
bdd_features_base_dir = "acceptance-scenarios"
9898

9999
[tool.coverage.report]
100100
exclude_lines = [

0 commit comments

Comments
 (0)