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

Update pre-commit hooks of master branch #258

Merged
merged 3 commits into from
Nov 14, 2022
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
8 changes: 4 additions & 4 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 All @@ -25,7 +25,7 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.1
hooks:
- id: codespell
- repo: https://github.com/executablebooks/mdformat
Expand Down
3 changes: 2 additions & 1 deletion mmflow/datasets/pipelines/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,8 @@ def __repr__(self):

@PIPELINES.register_module()
class ColorJitter:
"""Randomly change the brightness, contrast, saturation and hue of an image.
"""Randomly change the brightness, contrast, saturation and hue of
an image.
Args:
asymmetric_prob (float): the probability to do color jitter for two
images asymmetrically.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true
# than "BA"
[codespell]
quiet-level = 3
ignore-words-list = datas, claus, ba
ignore-words-list = datas, claus, ba, warmup