Skip to content

Commit

Permalink
MAINT: autoupdate pre-commit hooks (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: GitHub <[email protected]>
Co-authored-by: Remco de Boer <[email protected]>
  • Loading branch information
3 people authored Apr 6, 2024
1 parent 2ab3091 commit 00335e3
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 134 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

88 changes: 44 additions & 44 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,33 @@ repos:
- id: check-hooks-apply
- id: check-useless-excludes

- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout
args:
- --extra-keys
- |
cell.attachments
cell.metadata.code_folding
cell.metadata.id
cell.metadata.pycharm
cell.metadata.user_expressions
metadata.celltoolbar
metadata.colab.name
metadata.colab.provenance
metadata.interpreter
metadata.notify_time
metadata.toc
metadata.toc-autonumbering
metadata.toc-showcode
metadata.toc-showmarkdowntxt
metadata.toc-showtags
metadata.varInspector
metadata.vscode
- repo: https://github.com/ComPWA/policy
rev: 0.2.2
rev: 0.3.4
hooks:
- id: check-dev-files
args:
Expand All @@ -29,7 +54,7 @@ repos:
- id: colab-toc-visible

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
rev: 1.8.5
hooks:
- id: nbqa-flake8
- id: nbqa-isort
Expand All @@ -54,53 +79,11 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
- id: black-jupyter

- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.3.0
hooks:
- id: cspell

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.3
hooks:
- id: editorconfig-checker
name: editorconfig
alias: ec

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
args:
- --extra-keys
- |
cell.attachments
cell.metadata.code_folding
cell.metadata.id
cell.metadata.pycharm
cell.metadata.user_expressions
metadata.celltoolbar
metadata.colab.name
metadata.colab.provenance
metadata.interpreter
metadata.notify_time
metadata.toc
metadata.toc-autonumbering
metadata.toc-showcode
metadata.toc-showmarkdowntxt
metadata.toc-showtags
metadata.varInspector
metadata.vscode
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
Expand All @@ -117,3 +100,20 @@ repos:
- id: toml-sort
args:
- --in-place

- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black-jupyter

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.6.1
hooks:
- id: cspell

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.3
hooks:
- id: editorconfig-checker
name: editorconfig
alias: ec
6 changes: 3 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
"ms-python.python",
"ms-vsliveshare.vsliveshare",
"redhat.vscode-yaml",
"Soulcode.vscode-unwanted-extensions",
"soulcode.vscode-unwanted-extensions",
"stkb.rewrap",
"streetsidesoftware.code-spell-checker",
"tamasfe.even-better-toml",
"tyriar.sort-lines",
"yzhang.markdown-all-in-one"
],
"unwantedRecommendations": [
"bungcip.better-toml",
"davidanson.vscode-markdownlint",
"garaioag.garaio-vscode-unwanted-recommendations",
"ms-python.pylint",
"travisillig.vscode-json-stable-stringify"
"travisillig.vscode-json-stable-stringify",
"tyriar.sort-lines"
]
}
16 changes: 12 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
"editor.formatOnSave": false
},
"[git-commit]": {
"editor.rulers": [72],
"editor.rulers": [
72
],
"rewrap.wrappingColumn": 72
},
"[ipynb]": {
"editor.formatOnSave": false
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "on"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand All @@ -30,10 +33,15 @@
"diffEditor.experimental.showMoves": true,
"editor.formatOnSave": true,
"git.rebaseWhenSync": true,
"github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"],
"github-actions.workflows.pinned.workflows": [
".github/workflows/ci.yml"
],
"gitlens.telemetry.enabled": false,
"multiDiffEditor.experimental.enabled": true,
"python.analysis.autoImportCompletions": false,
"python.languageServer": "Pylance",
"python.testing.unittestEnabled": false,
"rewrap.wrappingColumn": 88
"redhat.telemetry.enabled": false,
"rewrap.wrappingColumn": 88,
"telemetry.telemetryLevel": "off"
}
30 changes: 15 additions & 15 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,36 @@
#
asttokens==2.4.1
backcall==0.2.0
comm==0.2.1
comm==0.2.2
contourpy==1.1.1
cycler==0.12.1
decorator==5.1.1
executing==2.0.1
fonttools==4.47.2
importlib-resources==6.1.1
fonttools==4.51.0
importlib-resources==6.4.0
ipython==8.12.3
ipywidgets==8.1.1
ipywidgets==8.1.2
jedi==0.19.1
jupyterlab-widgets==3.0.9
jupyterlab-widgets==3.0.10
kiwisolver==1.4.5
matplotlib==3.7.4
matplotlib==3.7.5
matplotlib-inline==0.1.6
numpy==1.24.4
packaging==23.2
parso==0.8.3
packaging==24.0
parso==0.8.4
pexpect==4.9.0
pickleshare==0.7.5
pillow==10.2.0
pillow==10.3.0
prompt-toolkit==3.0.43
ptyprocess==0.7.0
pure-eval==0.2.2
pygments==2.17.2
pyparsing==3.1.1
python-dateutil==2.8.2
pyparsing==3.1.2
python-dateutil==2.9.0.post0
six==1.16.0
stack-data==0.6.3
traitlets==5.14.1
typing-extensions==4.9.0
traitlets==5.14.2
typing-extensions==4.11.0
wcwidth==0.2.13
widgetsnbextension==4.0.9
zipp==3.17.0
widgetsnbextension==4.0.10
zipp==3.18.1
Loading

0 comments on commit 00335e3

Please sign in to comment.