-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
431 additions
and
492 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "pallets/jinja", | ||
"image": "mcr.microsoft.com/devcontainers/python:3", | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv", | ||
"python.terminal.activateEnvInCurrentTerminal": true, | ||
"python.terminal.launchArgs": [ | ||
"-X", | ||
"dev" | ||
] | ||
} | ||
} | ||
}, | ||
"onCreateCommand": ".devcontainer/on-create-command.sh" | ||
} |
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,7 @@ | ||
#!/bin/bash | ||
set -e | ||
python3 -m venv --upgrade-deps .venv | ||
. .venv/bin/activate | ||
pip install -r requirements/dev.txt | ||
pip install -e . | ||
pre-commit install --install-hooks |
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,11 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Security issue | ||
url: [email protected] | ||
about: Do not report security issues publicly. Email our security contact. | ||
- name: Questions | ||
url: https://stackoverflow.com/questions/tagged/Jinja?tab=Frequent | ||
about: Search for and ask questions about your code on Stack Overflow. | ||
- name: Questions and discussions | ||
- name: Questions on Discussions | ||
url: https://github.com/pallets/jinja/discussions/ | ||
about: Ask questions about your own code on the Discussions tab. | ||
- name: Questions on Chat | ||
url: https://discord.gg/pallets | ||
about: Discuss questions about your code on our Discord chat. | ||
about: Ask questions about your own code on our Discord chat. |
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,9 +1,24 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
day: "monday" | ||
time: "16:00" | ||
timezone: "UTC" | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: monthly | ||
ignore: | ||
# slsa depends on upload/download v3 | ||
- dependency-name: actions/upload-artifact | ||
versions: '>= 4' | ||
- dependency-name: actions/download-artifact | ||
versions: '>= 4' | ||
groups: | ||
github-actions: | ||
patterns: | ||
- '*' | ||
- package-ecosystem: pip | ||
directory: /requirements/ | ||
schedule: | ||
interval: monthly | ||
groups: | ||
python-requirements: | ||
patterns: | ||
- '*' |
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,26 +1,25 @@ | ||
<!-- | ||
Before opening a PR, open a ticket describing the issue or feature the PR will address. Follow the steps in CONTRIBUTING.rst. | ||
Before opening a PR, open a ticket describing the issue or feature the | ||
PR will address. An issue is not required for fixing typos in | ||
documentation, or other simple non-code changes. | ||
Replace this comment with a description of the change. Describe how it addresses the linked ticket. | ||
Replace this comment with a description of the change. Describe how it | ||
addresses the linked ticket. | ||
--> | ||
|
||
<!-- | ||
Link to relevant issues or previous PRs, one per line. Use "fixes" to automatically close an issue. | ||
--> | ||
Link to relevant issues or previous PRs, one per line. Use "fixes" to | ||
automatically close an issue. | ||
- fixes #<issue number> | ||
fixes #<issue number> | ||
--> | ||
|
||
<!-- | ||
Ensure each step in CONTRIBUTING.rst is complete by adding an "x" to each box below. | ||
Ensure each step in CONTRIBUTING.rst is complete, especially the following: | ||
If only docs were changed, these aren't relevant and can be removed. | ||
- Add tests that demonstrate the correct behavior of the change. Tests | ||
should fail without the change. | ||
- Add or update relevant docs, in the docs folder and in code. | ||
- Add an entry in CHANGES.rst summarizing the change and linking to the issue. | ||
- Add `.. versionchanged::` entries in any relevant code docs. | ||
--> | ||
|
||
Checklist: | ||
|
||
- [ ] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change. | ||
- [ ] Add or update relevant docs, in the docs folder and in code. | ||
- [ ] Add an entry in `CHANGES.rst` summarizing the change and linking to the issue. | ||
- [ ] Add `.. versionchanged::` entries in any relevant code docs. | ||
- [ ] Run `pre-commit` hooks and fix any issues. | ||
- [ ] Run `pytest` and `tox`, no tests failed. |
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,25 +1,23 @@ | ||
name: 'Lock threads' | ||
# Lock closed issues that have not received any further activity for | ||
# two weeks. This does not close open issues, only humans may do that. | ||
# We find that it is easier to respond to new issues with fresh examples | ||
# rather than continuing discussions on old issues. | ||
name: Lock inactive closed issues | ||
# Lock closed issues that have not received any further activity for two weeks. | ||
# This does not close open issues, only humans may do that. It is easier to | ||
# respond to new issues with fresh examples rather than continuing discussions | ||
# on old issues. | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
concurrency: | ||
group: lock | ||
|
||
jobs: | ||
lock: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 | ||
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1 | ||
with: | ||
issue-inactive-days: 14 | ||
pr-inactive-days: 14 | ||
discussion-inactive-days: 14 |
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,21 +1,10 @@ | ||
*.so | ||
docs/_build/ | ||
*.pyc | ||
*.pyo | ||
*.egg-info/ | ||
*.egg | ||
build/ | ||
.idea/ | ||
.vscode/ | ||
.venv*/ | ||
venv*/ | ||
__pycache__/ | ||
dist/ | ||
.DS_Store | ||
.coverage* | ||
htmlcov/ | ||
.tox/ | ||
.cache/ | ||
.idea/ | ||
env/ | ||
venv/ | ||
venv-*/ | ||
.coverage | ||
.coverage.* | ||
htmlcov | ||
.pytest_cache/ | ||
/.vscode/ | ||
.mypy_cache | ||
docs/_build/ |
Oops, something went wrong.