mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 21:12:57 +00:00
Update config
This commit is contained in:
@@ -57,21 +57,6 @@ repos:
|
|||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
|
|
||||||
# strip output from Jupyter notebooks
|
|
||||||
- repo: https://github.com/kynan/nbstripout
|
|
||||||
rev: 0.5.0
|
|
||||||
hooks:
|
|
||||||
- id: nbstripout
|
|
||||||
|
|
||||||
# Run tools on Jupyter notebooks
|
|
||||||
- repo: https://github.com/nbQA-dev/nbQA
|
|
||||||
rev: 1.3.1
|
|
||||||
hooks:
|
|
||||||
- id: nbqa-black
|
|
||||||
- id: nbqa-flake8
|
|
||||||
- id: nbqa-pyupgrade
|
|
||||||
args: [--py39-plus]
|
|
||||||
|
|
||||||
# Lint: Dockerfile
|
# Lint: Dockerfile
|
||||||
- repo: https://github.com/hadolint/hadolint.git
|
- repo: https://github.com/hadolint/hadolint.git
|
||||||
rev: v2.8.0
|
rev: v2.8.0
|
||||||
@@ -114,6 +99,24 @@ repos:
|
|||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args: ["--fix"]
|
args: ["--fix"]
|
||||||
|
|
||||||
|
# Run tools on Jupyter notebooks
|
||||||
|
|
||||||
|
# strip output from Jupyter notebooks
|
||||||
|
- repo: https://github.com/kynan/nbstripout
|
||||||
|
rev: 0.5.0
|
||||||
|
hooks:
|
||||||
|
- id: nbstripout
|
||||||
|
|
||||||
|
# py-like tools
|
||||||
|
- repo: https://github.com/nbQA-dev/nbQA
|
||||||
|
rev: 1.3.1
|
||||||
|
hooks:
|
||||||
|
- id: nbqa-pyupgrade
|
||||||
|
args: [--py39-plus]
|
||||||
|
- id: nbqa-black
|
||||||
|
args: [--target-version=py39]
|
||||||
|
- id: nbqa-flake8
|
||||||
|
|
||||||
# Docker hooks do not work in pre-commit.ci
|
# Docker hooks do not work in pre-commit.ci
|
||||||
# See: <https://github.com/pre-commit-ci/issues/issues/11>
|
# See: <https://github.com/pre-commit-ci/issues/issues/11>
|
||||||
ci:
|
ci:
|
||||||
|
Reference in New Issue
Block a user