Skip to content

Commit 8f3db75

Browse files
authored
build(deps-dev): bump mypy to 1.14.0 (#300)
* style(precommit): add commit msg hook * build(deps-dev): bump mypy to 1.14.0
1 parent 1fd89a0 commit 8f3db75

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ repos:
2121
args: ['--branch', 'main']
2222
- id: requirements-txt-fixer
2323
- id: trailing-whitespace
24+
- repo: https://github.com/compilerla/conventional-pre-commit
25+
rev: 'v3.6.0'
26+
hooks:
27+
- id: conventional-pre-commit
28+
stages: [commit-msg]
2429
- repo: https://github.com/charliermarsh/ruff-pre-commit
2530
rev: 'v0.8.4'
2631
hooks:

pyproject.toml

+2-22
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test = [
5050
]
5151
quality = [
5252
"ruff==0.8.4",
53-
"mypy==1.13.0",
53+
"mypy==1.14.0",
5454
"types-Pillow",
5555
"pre-commit>=3.0.0,<5.0.0",
5656
]
@@ -69,27 +69,7 @@ demo = [
6969
"streamlit>=0.65.0,<2.0.0",
7070
"torchvision>=0.15.0,<1.0.0",
7171
]
72-
dev = [
73-
# test
74-
"requests>=2.20.0,<3.0.0",
75-
"torchvision>=0.15.0,<1.0.0",
76-
"pytest>=7.3.2",
77-
"pytest-cov>=4.0.0,<5.0.0",
78-
"pytest-pretty>=1.0.0,<2.0.0",
79-
# style
80-
"ruff==0.8.4",
81-
"mypy==1.13.0",
82-
"types-Pillow",
83-
"pre-commit>=3.0.0,<5.0.0",
84-
# docs
85-
"sphinx>=3.0.0,!=3.5.0",
86-
"furo>=2022.3.4",
87-
"sphinxemoji>=0.1.8",
88-
"sphinx-copybutton>=0.3.1",
89-
"recommonmark>=0.7.1",
90-
"sphinx-markdown-tables>=0.0.15",
91-
"Jinja2<3.1",
92-
]
72+
9373

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

0 commit comments

Comments
 (0)