Skip to content

Commit

Permalink
Backport 'Fix mypy' #358 (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet authored Sep 20, 2024
1 parent 35fdf7b commit 1532651
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
rev: v0.991
hooks:
- id: mypy
exclude: "^binder/jupyter_config\\.py$"
exclude: "(^binder/jupyter_config\\.py$)|(^scripts/bump_version\\.py$)"
args: ["--config-file", "pyproject.toml"]
additional_dependencies: [tornado, pytest]
stages: [manual]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ filterwarnings = [
[tool.mypy]
exclude=[
"^binder/jupyter_config\\.py$",
"^scripts/bump_version\\.py$",
]
check_untyped_defs = true
disallow_any_generics = false
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import click
from jupyter_releaser.util import get_version, run
from pkg_resources import parse_version # type: ignore
from pkg_resources import parse_version

LERNA_CMD = "jlpm run lerna version --no-push --force-publish --no-git-tag-version"

Expand Down

0 comments on commit 1532651

Please sign in to comment.