Skip to content

Commit

Permalink
Fix eof in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed May 31, 2024
1 parent 44b5193 commit 30c8cb3
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
cookiecutter_cfg: ['default.yml', 'lock-file.yml', 'proprietary.yml']
cookiecutter_cfg: ['default.yml', 'lock-file.yml', 'proprietary.yml']
defaults:
run:
shell: bash -el {0}
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
hatch run test:cov
hatch run lint:all
hatch run pre-commit run --all-files
- name: Build the package
working-directory: ./hatchlor-demo
run: hatch build
Expand Down
1 change: 0 additions & 1 deletion configs/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ default_context:
project_repo: "https://github.com/FlorianWilhelm/the-hatchlor-demo"
pypi_username: "{{ cookiecutter.github_username }}"
lock_file_support: false

1 change: 0 additions & 1 deletion configs/lock-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ default_context:
project_repo: "https://github.com/FlorianWilhelm/the-hatchlor-demo"
pypi_username: "{{ cookiecutter.github_username }}"
lock_file_support: true

1 change: 0 additions & 1 deletion configs/proprietary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ default_context:
project_repo: "https://github.com/FlorianWilhelm/the-hatchlor-demo"
pypi_username: "{{ cookiecutter.github_username }}"
lock_file_support: false

4 changes: 2 additions & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"full_name": "Florian Wilhelm",
"email": "email@example.com",
"project_name": "Python hatch project",
Expand All @@ -10,7 +10,7 @@
"github_username": "{{ cookiecutter.full_name.replace(' ', '')}}",
"project_repo": "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}",
"pypi_username": "{{ cookiecutter.github_username }}",
"lock_file_support": false,
"lock_file_support": false,
"__prompts__": {
"full_name": "Provide your [bold yellow]full name[/]",
"email": "Provide your [bold yellow]email[/]",
Expand Down
2 changes: 1 addition & 1 deletion test_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ -d "$PROJ_DIR" ]; then
rm -rf "$PROJ_DIR"
fi

cookiecutter --no-input hatchlor
cookiecutter --no-input hatchlor

cd $PROJ_DIR

Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ updates:
interval: weekly
versioning-strategy: lockfile-only
allow:
- dependency-type: "all"
- dependency-type: "all"
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@
color: b1fc6f
- name: wontfix
description: This will not be worked on
color: ffffff
color: ffffff
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ template: |
$CHANGES
Special thanks to: $CONTRIBUTORS
Special thanks to: $CONTRIBUTORS
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
with:
disable-autolabeler: true
env:
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/.github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
- master

permissions:
actions: read
contents: read
Expand All @@ -22,4 +22,4 @@ jobs:
- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5.0.0
with:
skip-delete: true
skip-delete: true
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
hatch run lint:lint-check
- name: Run Tests
run: |
hatch run test:pytest
hatch run test:pytest
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
{% elif cookiecutter.open_source_license == 'proprietary' -%}
Copyright (c) {% now 'local', '%Y' %}, {{ cookiecutter.full_name }}
{% endif %}
{% endif %}
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/docs/authors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{%
include-markdown "../AUTHORS.md"
%}
{% endraw %}
{% endraw %}
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{%
include-markdown "../CHANGELOG.md"
%}
{% endraw %}
{% endraw %}
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{%
include-markdown "../CONTRIBUTING.md"
%}
{% endraw %}
{% endraw %}
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/docs/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{%
include-markdown "../LICENSE.txt"
%}
{% endraw %}
{% endraw %}

0 comments on commit 30c8cb3

Please sign in to comment.