forked from audreyfeldroy/cookiecutter-pypackage
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from bird-house/updates-2025
Updates 2025
- Loading branch information
Showing
37 changed files
with
1,284 additions
and
196 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
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
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ Getting Started | |
readme | ||
tutorial | ||
pypi_release_checklist | ||
troubleshooting | ||
|
||
Basics | ||
------ | ||
|
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,44 @@ | ||
.. _troubleshooting: | ||
|
||
=============== | ||
Troubleshooting | ||
=============== | ||
|
||
I created a cookiecutter, but it doesn't work, and I can't figure out why | ||
------------------------------------------------------------------------- | ||
|
||
* Try upgrading to Cookiecutter 0.8.0, which prints better error | ||
messages and has fixes for several common bugs. | ||
|
||
I'm having trouble generating Jinja templates from Jinja templates | ||
------------------------------------------------------------------ | ||
|
||
Make sure you escape things properly, like this:: | ||
|
||
{{ "{{" }} | ||
|
||
Or this:: | ||
|
||
{% raw %} | ||
<p>Go <a href="{{ url_for('home') }}">Home</a></p> | ||
{% endraw %} | ||
|
||
Or this:: | ||
|
||
{{ {{ url_for('home') }} }} | ||
|
||
See https://jinja.palletsprojects.com/en/latest/templates/#escaping for more info. | ||
|
||
You can also use the `_copy_without_render`_ key in your `cookiecutter.json` | ||
file to escape entire files and directories. | ||
|
||
.. _`_copy_without_render`: http://cookiecutter.readthedocs.io/en/latest/advanced/copy_without_render.html | ||
|
||
|
||
Other common issues | ||
------------------- | ||
|
||
TODO: add a bunch of common new user issues here. | ||
|
||
This document is incomplete. If you have knowledge that could help other users, | ||
adding a section or filing an issue with details would be greatly appreciated. |
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
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,27 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/.github/workflows" | ||
schedule: | ||
interval: "monthly" | ||
groups: | ||
actions: | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
groups: | ||
ci: | ||
patterns: | ||
- "CI/*" | ||
python: | ||
patterns: | ||
- "pyproject.toml" |
Oops, something went wrong.