forked from pypa/sampleproject
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into main-github
- Loading branch information
Showing
34 changed files
with
386 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
[bumpversion] | ||
current_version = 0.0.0 | ||
current_version = 0.0.2 | ||
message = bump v{current_version} -> v{new_version} | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:pyproject.toml] | ||
|
||
[bumpversion:file:.bumpversion.cfg] | ||
|
||
[bumpversion:file:src/init_python_project/cli.py] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ __pycache__ | |
build | ||
.obsidian | ||
docs/examples | ||
src/init_python_project/template | ||
src/init_python_project/copier.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
prune template | ||
prune */__pycache__ | ||
exclude copier.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
/* center mermaid graphs */ | ||
.mermaid { | ||
text-align: center; | ||
text-align: center; | ||
} | ||
|
||
/* convert emphasized text under images to caption */ | ||
img+em { | ||
display: block; | ||
img + em { | ||
display: block; | ||
} | ||
|
||
.md-typeset .caption, | ||
.md-typeset figcaption { | ||
/* same as material's figcaption */ | ||
font-style: italic; | ||
max-width: 24rem; | ||
margin: 1em auto 1.5em; | ||
text-align: center; | ||
display: block; | ||
font-size: 0.8rem; | ||
/* custom */ | ||
line-height: 1.2; | ||
/* same as material's figcaption */ | ||
font-style: italic; | ||
max-width: 24rem; | ||
margin: 1em auto 1.5em; | ||
text-align: center; | ||
display: block; | ||
font-size: 0.8rem; | ||
/* custom */ | ||
line-height: 1.2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// remove '@' from github mention magiclink | ||
let mentions = document.querySelectorAll(".magiclink-gitlab.magiclink-mention") | ||
mentions.forEach(el => { | ||
el.text = el.text.replace("@", "") | ||
let mentions = document.querySelectorAll(".magiclink-gitlab.magiclink-mention"); | ||
mentions.forEach((el) => { | ||
el.text = el.text.replace("@", ""); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Python Project Template | ||
|
||
{{ includex('README.md', start=2, end_match='Getting Started') }} | ||
{{ includex('README.md', start_match='<!-- start -->', end_match='Getting Started') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
{{ includex('README.md', start_match='Prerequisites', end_match='<!-- usage-end -->')}} | ||
|
||
## Using [copier] directly | ||
|
||
```console | ||
copier copy --trust https://git01.iis.fhg.de/mkj/project-template.git my_new_project | ||
``` | ||
|
||
*Note: `--trust` is required because the template uses [tasks][] to setup your git repository for you.* | ||
|
||
[tasks]: https://git01.iis.fhg.de/mkj/project-template/-/blob/main/copier.yaml | ||
|
||
*Note: If you have [pipx][] installed (you should, it is good), you can simply use `pipx run copier` out of the box.* | ||
|
||
[copier]: https://github.com/copier-org/copier | ||
[pipx]: https://pypa.github.io/pipx/ |
Oops, something went wrong.