Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of your workflow files
schedule:
interval: "weekly" # Options: daily, weekly, monthly
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Lint
permissions:
contents: read

on:
push:
Expand All @@ -13,6 +15,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
persist-credentials: false
- uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2
with:
check_filenames: true
7 changes: 7 additions & 0 deletions {{cookiecutter.github_project_name}}/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of your workflow files
schedule:
interval: "weekly" # Options: daily, weekly, monthly
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Lint
permissions:
contents: read

on:
push:
Expand All @@ -11,8 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-python@v2
- uses: psf/black@stable
- uses: psf/black@8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # 25.1.0
with:
options: "--check"
src: "."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# heavily based on https://github.com/jupyterlab/jupyterlab-git/blob/v0.22.2/.github/workflows/publish.yml
name: Publish Package
permissions:
contents: read

on:
release:
Expand All @@ -9,8 +11,14 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
attestations: write
contents: read
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install Python
uses: actions/setup-python@v2
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test
permissions:
contents: read

on:
push:
Expand All @@ -19,6 +21,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down
15 changes: 13 additions & 2 deletions {{cookiecutter.github_project_name}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,16 @@ cython_debug/
[._]sw[a-p]
[._]*.un~

## vscode
.vscode

## Editor temporary/working/backup files #
.#*
[#]*#
*~
*$
*.bak
*.kdev4
.project
.pydevproject
*.swp
.idea
.vscode/