Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-lieck committed Jan 20, 2024
2 parents f3a8cde + d601b19 commit f8fbdca
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
tags: '*'
workflow_dispatch:

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/doc_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- dev
tags: '*'
pull_request:
workflow_dispatch:

Expand Down
1 change: 0 additions & 1 deletion .rename_test_dir/.github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
tags: '*'
workflow_dispatch:

permissions:
Expand Down
1 change: 0 additions & 1 deletion .rename_test_dir/.github/workflows/doc_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- dev
tags: '*'
pull_request:
workflow_dispatch:

Expand Down
12 changes: 12 additions & 0 deletions .rename_test_dir/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ A template repo for Python packages featuring:

To create a new Python package from this template, start by cloning this repo (or use it as a template when creating a new repo on GitHub) and then follow the procedure outlined below.

***There now is the [`rename.py`](<newgithuburl>/newpackage/blob/main/newpackage/rename.py) script for initialising/renaming everything for a new package!***

Go to the `newpackage` folder and run

```shell
python rename.py -d /path/to/your/repo
```

to interactively make any required changes. You need to add the `-a` switch to actually apply any changes, otherwise a dry run is performed and changes are printed to the terminal for you to review. Use `-h` to print a help menu.

You should remove the `.rename_test_dir`, which is only for testing the `rename.py` script.

### Badges README

The `README.md` is obviously specific to your project, but you might want to use the badges at the top.
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ A template repo for Python packages featuring:

To create a new Python package from this template, start by cloning this repo (or use it as a template when creating a new repo on GitHub) and then follow the procedure outlined below.

***There now is the [`rename.py`](https://github.com/robert-lieck/pythontemplatepackage/blob/main/pythontemplatepackage/rename.py) script for initialising/renaming everything for a new package!***

Go to the `pythontemplatepackage` folder and run

```shell
python rename.py -d /path/to/your/repo
```

to interactively make any required changes. You need to add the `-a` switch to actually apply any changes, otherwise a dry run is performed and changes are printed to the terminal for you to review. Use `-h` to print a help menu.

You should remove the `.rename_test_dir`, which is only for testing the `rename.py` script.

### Badges README

The `README.md` is obviously specific to your project, but you might want to use the badges at the top.
Expand Down

0 comments on commit f8fbdca

Please sign in to comment.