mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 02:24:04 +00:00
Update some links
This commit is contained in:
@@ -35,7 +35,7 @@ repos:
|
|||||||
|
|
||||||
# Check python code static typing
|
# Check python code static typing
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.4.1
|
rev: v1.5.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--config, ./mypy.ini]
|
args: [--config, ./mypy.ini]
|
||||||
@@ -52,7 +52,7 @@ repos:
|
|||||||
|
|
||||||
# Autoformat: YAML, JSON, Markdown, etc.
|
# Autoformat: YAML, JSON, Markdown, etc.
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v3.0.0
|
rev: v3.0.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ repos:
|
|||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
# Lint: Dockerfile
|
# Lint: Dockerfile
|
||||||
- repo: https://github.com/hadolint/hadolint.git
|
- repo: https://github.com/hadolint/hadolint
|
||||||
rev: v2.12.1-beta
|
rev: v2.12.1-beta
|
||||||
hooks:
|
hooks:
|
||||||
- id: hadolint-docker
|
- id: hadolint-docker
|
||||||
@@ -74,7 +74,7 @@ repos:
|
|||||||
|
|
||||||
# Lint: Dockerfile
|
# Lint: Dockerfile
|
||||||
# We're linting .dockerfile files as well
|
# We're linting .dockerfile files as well
|
||||||
- repo: https://github.com/hadolint/hadolint.git
|
- repo: https://github.com/hadolint/hadolint
|
||||||
rev: v2.12.1-beta
|
rev: v2.12.1-beta
|
||||||
hooks:
|
hooks:
|
||||||
- id: hadolint-docker
|
- id: hadolint-docker
|
||||||
@@ -84,7 +84,7 @@ repos:
|
|||||||
files: \.dockerfile$
|
files: \.dockerfile$
|
||||||
|
|
||||||
# Lint: YAML
|
# Lint: YAML
|
||||||
- repo: https://github.com/adrienverge/yamllint.git
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.32.0
|
rev: v1.32.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
@@ -92,7 +92,7 @@ repos:
|
|||||||
files: \.(yaml|yml)$
|
files: \.(yaml|yml)$
|
||||||
|
|
||||||
# Lint: Bash scripts
|
# Lint: Bash scripts
|
||||||
- repo: https://github.com/openstack-dev/bashate.git
|
- repo: https://github.com/openstack/bashate
|
||||||
rev: 2.1.1
|
rev: 2.1.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: bashate
|
- id: bashate
|
||||||
@@ -137,13 +137,13 @@ repos:
|
|||||||
- id: nbqa-flake8
|
- id: nbqa-flake8
|
||||||
|
|
||||||
# Run black on python code blocks in documentation files.
|
# Run black on python code blocks in documentation files.
|
||||||
- repo: https://github.com/asottile/blacken-docs
|
- repo: https://github.com/adamchainz/blacken-docs
|
||||||
rev: 1.15.0
|
rev: 1.16.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
# --skip-errors is added to allow us to have python syntax highlighting even if
|
# --skip-errors is added to allow us to have python syntax highlighting even if
|
||||||
# the python code blocks includes jupyter specific additions such as % or !
|
# the python code blocks includes jupyter specific additions such as % or !
|
||||||
# See https://github.com/asottile/blacken-docs/issues/127 for an upstream
|
# See https://github.com/adamchainz/blacken-docs/issues/127 for an upstream
|
||||||
# feature request about this.
|
# feature request about this.
|
||||||
args: [--target-version=py39, --skip-errors]
|
args: [--target-version=py39, --skip-errors]
|
||||||
|
|
||||||
|
@@ -57,7 +57,7 @@ source_suffix = {
|
|||||||
}
|
}
|
||||||
pygments_style = "sphinx"
|
pygments_style = "sphinx"
|
||||||
|
|
||||||
# MyST configuration reference: https://myst-parser.readthedocs.io/en/latest/sphinx/reference.html
|
# MyST configuration reference: https://myst-parser.readthedocs.io/en/latest/configuration.html
|
||||||
myst_heading_anchors = 3
|
myst_heading_anchors = 3
|
||||||
|
|
||||||
linkcheck_ignore = [
|
linkcheck_ignore = [
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# BE CAREFUL when using Docker engine <1.10 because running a container with
|
# BE CAREFUL when using Docker engine <1.10 because running a container with
|
||||||
# `--rm` option while mounting a docker volume may wipe out the volume.
|
# `--rm` option while mounting a docker volume may wipe out the volume.
|
||||||
# See issue: https://github.com/docker/docker/issues/17907
|
# See issue: https://github.com/moby/moby/issues/17907
|
||||||
|
|
||||||
# Use letsencrypt production server by default to get a real cert.
|
# Use letsencrypt production server by default to get a real cert.
|
||||||
# Use CERT_SERVER=--staging to hit the staging server (not a real cert).
|
# Use CERT_SERVER=--staging to hit the staging server (not a real cert).
|
||||||
|
@@ -178,7 +178,7 @@ if [ "$(id -u)" == 0 ] ; then
|
|||||||
# command. The behavior can be inspected with `sudo -V` run as root.
|
# command. The behavior can be inspected with `sudo -V` run as root.
|
||||||
#
|
#
|
||||||
# ref: `man sudo` https://linux.die.net/man/8/sudo
|
# ref: `man sudo` https://linux.die.net/man/8/sudo
|
||||||
# ref: `man sudoers` https://www.sudo.ws/man/1.8.15/sudoers.man.html
|
# ref: `man sudoers` https://www.sudo.ws/docs/man/sudoers.man/
|
||||||
#
|
#
|
||||||
# - We use the `--preserve-env` flag to pass through most environment
|
# - We use the `--preserve-env` flag to pass through most environment
|
||||||
# variables, but understand that exceptions are caused by the sudoers
|
# variables, but understand that exceptions are caused by the sudoers
|
||||||
|
@@ -67,7 +67,7 @@ RUN mamba install --yes \
|
|||||||
|
|
||||||
# Install facets which does not have a pip or conda package at the moment
|
# Install facets which does not have a pip or conda package at the moment
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN git clone https://github.com/PAIR-code/facets.git && \
|
RUN git clone https://github.com/PAIR-code/facets && \
|
||||||
jupyter nbclassic-extension install facets/facets-dist/ --sys-prefix && \
|
jupyter nbclassic-extension install facets/facets-dist/ --sys-prefix && \
|
||||||
rm -rf /tmp/facets && \
|
rm -rf /tmp/facets && \
|
||||||
fix-permissions "${CONDA_DIR}" && \
|
fix-permissions "${CONDA_DIR}" && \
|
||||||
|
Reference in New Issue
Block a user