Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 'Fix mypy' #358 #361

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading