Skip to content

Commit

Permalink
build(deps-dev): bump mypy to 1.14.0 (#300)
Browse files Browse the repository at this point in the history
* style(precommit): add commit msg hook

* build(deps-dev): bump mypy to 1.14.0
  • Loading branch information
frgfm authored Dec 30, 2024
1 parent 1fd89a0 commit 8f3db75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ repos:
args: ['--branch', 'main']
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/compilerla/conventional-pre-commit
rev: 'v3.6.0'
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.8.4'
hooks:
Expand Down
24 changes: 2 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test = [
]
quality = [
"ruff==0.8.4",
"mypy==1.13.0",
"mypy==1.14.0",
"types-Pillow",
"pre-commit>=3.0.0,<5.0.0",
]
Expand All @@ -69,27 +69,7 @@ demo = [
"streamlit>=0.65.0,<2.0.0",
"torchvision>=0.15.0,<1.0.0",
]
dev = [
# test
"requests>=2.20.0,<3.0.0",
"torchvision>=0.15.0,<1.0.0",
"pytest>=7.3.2",
"pytest-cov>=4.0.0,<5.0.0",
"pytest-pretty>=1.0.0,<2.0.0",
# style
"ruff==0.8.4",
"mypy==1.13.0",
"types-Pillow",
"pre-commit>=3.0.0,<5.0.0",
# docs
"sphinx>=3.0.0,!=3.5.0",
"furo>=2022.3.4",
"sphinxemoji>=0.1.8",
"sphinx-copybutton>=0.3.1",
"recommonmark>=0.7.1",
"sphinx-markdown-tables>=0.0.15",
"Jinja2<3.1",
]


[project.urls]
documentation = "https://frgfm.github.io/torch-cam"
Expand Down

0 comments on commit 8f3db75

Please sign in to comment.