diff --git a/.github/workflows/docker-wiki-update.yml b/.github/workflows/docker-wiki-update.yml index a0403e127c..24d931ae03 100644 --- a/.github/workflows/docker-wiki-update.yml +++ b/.github/workflows/docker-wiki-update.yml @@ -40,7 +40,7 @@ jobs: - name: Push Wiki to GitHub 📤 if: github.repository == 'jupyter/docker-stacks' && (github.ref == 'refs/heads/main' || github.event_name == 'schedule') - uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0 + uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 with: commit_message: "Automated wiki publish for ${{ github.sha }}" repository: wiki/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 524e28ed9a..b0023a0da3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,13 +14,13 @@ repos: # Autoupdate: Python code - repo: https://github.com/asottile/pyupgrade - rev: v3.13.0 + rev: v3.14.0 hooks: - id: pyupgrade args: [--py39-plus] # Automatically sort python imports - - repo: https://github.com/pycqa/isort + - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: - id: isort @@ -40,7 +40,15 @@ repos: - id: mypy args: [--config, ./mypy.ini] additional_dependencies: - ["numpy", "pytest", "requests", "types-requests", "types-tabulate"] + [ + "numpy", + "pytest", + "requests", + "urllib3", + "types-requests", + "types-tabulate", + "types-urllib3", + ] # Unfortunately, `pre-commit` only runs on changed files # This doesn't work well with `mypy --follow-imports error` # See: https://github.com/pre-commit/mirrors-mypy/issues/34#issuecomment-1062160321 @@ -100,7 +108,7 @@ repos: # Lint: Shell scripts - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.9.0.5 + rev: v0.9.0.6 hooks: - id: shellcheck args: ["-x"] diff --git a/mypy.ini b/mypy.ini index f35b2e1809..decc686c29 100644 --- a/mypy.ini +++ b/mypy.ini @@ -41,6 +41,3 @@ ignore_missing_imports = True [mypy-tensorflow.*] ignore_missing_imports = True - -[mypy-urllib3.*] -ignore_missing_imports = True