Skip to content

Commit

Permalink
Merge branch 'main' into start-notebook-python
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru authored Oct 17, 2023
2 parents 237de69 + 4c0c0aa commit b9334f9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-wiki-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
16 changes: 12 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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"]
Expand Down
3 changes: 0 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ ignore_missing_imports = True

[mypy-tensorflow.*]
ignore_missing_imports = True

[mypy-urllib3.*]
ignore_missing_imports = True

0 comments on commit b9334f9

Please sign in to comment.