File tree Expand file tree Collapse file tree 6 files changed +17
-20
lines changed Expand file tree Collapse file tree 6 files changed +17
-20
lines changed Original file line number Diff line number Diff line change 11{
22 "template" : " https://github.com/sphinx-notes/cookiecutter" ,
3- "commit" : " 7cadd39d13e7e95f37aecb9e998f4d7bb66dbf10 " ,
3+ "commit" : " 4736b672023e3bf4bc80d0d51850d7bc45ca1e12 " ,
44 "checkout" : null ,
55 "context" : {
66 "cookiecutter" : {
2020 "sphinx_version" : " 7.0" ,
2121 "development_status" : " 3 - Alpha" ,
2222 "_template" : " https://github.com/sphinx-notes/cookiecutter" ,
23- "_commit" : " 7cadd39d13e7e95f37aecb9e998f4d7bb66dbf10 "
23+ "_commit" : " 4736b672023e3bf4bc80d0d51850d7bc45ca1e12 "
2424 }
2525 },
2626 "directory" : null
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ OPEN = xdg-open
1313docs :
1414 $(MAKE ) -C docs/
1515
16- .PHONY :
16+ .PHONY : view
1717view :
1818 $(OPEN ) docs/_build/html/index.html
1919
@@ -60,31 +60,33 @@ upload: dist
6060
6161# Keep up to date with the latest template.
6262# See https://github.com/sphinx-notes/cookiecutter.
63- .PHONY : tmpl-update
63+ .PHONY : tmpl-update tmpl-update-done tmpl-apply-rej
64+
6465tmpl-update :
6566 $(PY ) -m cruft update
6667
67- .PHONY : tmpl-update-done
6868tmpl-update-done :
6969 $(GIT ) commit -m " chore: Update project template to sphinx-notes/cookiecutter@$( shell jq -r ' .commit' .cruft.json | head -c8) "
7070
71- .PHONY : apply-rej
72- apply-rej :
71+ tmpl-apply-rej :
7372 @for rej in $$(find . -name '*.rej' ) ; do \
7473 echo " applying $$ rej..." ; \
7574 wiggle --replace $$ {rej%.rej} $$ rej; \
7675 done
7776
78- # Detect the minimum Python versions needed to run code.
79- pyvermin :
80- vermin --eval-annotations --target=3.12- --versions src/
81-
8277# Update project version.
83- .PHONY : bump-version
78+ .PHONY : bump-version bump-version-done
79+
8480bump-version :
8581 @echo -n " Please enter the version to bump: "
8682 @read version && $(PY ) -m cruft update --variables-to-update " { \" version\" : \" $$ version\" }"
8783
84+ bump-version-done :
85+ VERSION=$(shell jq -r '.context.cookiecutter.version' .cruft.json) ; \
86+ $(GIT ) commit -m " chore: Bump version to $$ VERSION" ; \
87+ $(GIT ) tag $$ VERSION
88+
89+
8890# ###############################################################################
8991# CUSTOM TARGETS
9092# ###############################################################################
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ sphinxnotes-strike
1515 :target: https://pypi.python.org/pypi/sphinxnotes-strike
1616 :alt: PyPI Package
1717.. |download | image :: https://img.shields.io/pypi/dm/sphinxnotes-strike
18- :target: https://pypi.python. org/pypi /sphinxnotes-strike
18+ :target: https://pypistats. org/packages /sphinxnotes-strike
1919 :alt: PyPI Package Downloads
2020
2121|docs | |license | |pypi | |download |
Original file line number Diff line number Diff line change 120120sys .path .insert (0 , os .path .abspath ('../src/sphinxnotes' ))
121121extensions .append ('strike' )
122122
123- # DOG FOOD CONFIGURATION START
124-
125- # DOG FOOD CONFIGURATION END
126-
127123# CUSTOM CONFIGURATION
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ sphinxnotes-strike
1212 :target: https://github.com/sphinx-notes/strike/blob/master/LICENSE
1313 :alt: Open Source License
1414.. |pypi | image :: https://img.shields.io/pypi/v/sphinxnotes-strike.svg
15- :target: https://pypi.python. org/pypi /sphinxnotes-strike
15+ :target: https://pypistats. org/packages /sphinxnotes-strike
1616 :alt: PyPI Package
1717.. |download | image :: https://img.shields.io/pypi/dm/sphinxnotes-strike
1818 :target: https://pypi.python.org/pypi/sphinxnotes-strike
Original file line number Diff line number Diff line change @@ -53,9 +53,8 @@ dev = [
5353 " build" ,
5454 " twine" ,
5555 " cruft" ,
56- " ruff" ,
56+ " ruff>=0.11.10 " , # pwndbg#2716
5757 " pre-commit" ,
58- " vermin" ,
5958]
6059test = [
6160 " pytest" ,
You can’t perform that action at this time.
0 commit comments