-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update pre-commit hooks * upgrade pip with venv * update description and version * show url in publish environment * update actions versions, separate typing job * use dependabot grouped updates ignore upload/download-artifact until slsa updates * use sphinx.ext.extlinks instead of sphinx-issues * update dev dependencies * update .editorconfig * update .gitignore * update .readthedocs.yaml * license is txt, readme is md * remove install and links sections * update pyproject.toml add typed classifier add pyright config simplify urls * tox builds docs in place * add tox env to update all dev dependencies * update issue and pr templates * simplify matrix
- Loading branch information
Showing
32 changed files
with
469 additions
and
350 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/itsdangerous", | ||
"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/itsdangerous?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/itsdangerous/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
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@be8aa5be94131386884a6da4189effda9b14aa21 | ||
- 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,16 +1,10 @@ | ||
/.idea/ | ||
/.vscode/ | ||
/env/ | ||
/venv/ | ||
.idea/ | ||
.vscode/ | ||
.venv*/ | ||
venv*/ | ||
__pycache__/ | ||
*.pyc | ||
*.egg-info/ | ||
/build/ | ||
/dist/ | ||
/.pytest_cache/ | ||
/.tox/ | ||
.coverage | ||
.coverage.* | ||
/htmlcov/ | ||
/docs/_build/ | ||
/.mypy_cache/ | ||
dist/ | ||
.coverage* | ||
htmlcov/ | ||
.tox/ | ||
docs/_build/ |
Oops, something went wrong.