Skip to content

Commit

Permalink
Upgrade pre commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
shinya7y committed Oct 12, 2022
1 parent 321a285 commit d2dff49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
repos:
- repo: https://github.com/PyCQA/flake8
rev: 3.8.3
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
rev: v0.32.0
hooks:
- id: yapf
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: check-yaml
Expand Down
2 changes: 1 addition & 1 deletion mmdet/models/utils/bvr_transformer/multihead_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def forward(
else:
if not hasattr(self, '_qkv_same_embed_dim'):
warnings.warn(
'A new version of MultiheadAttention module has been implemented. \
'A new MultiheadAttention module has been implemented. \
Please re-train your model with the new module',
UserWarning,
)
Expand Down

0 comments on commit d2dff49

Please sign in to comment.