Skip to content
Closed
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude: ^$

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -25,7 +25,7 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/domdfcoding/pre-commit-hooks
rev: v0.1.6
rev: v0.4.0
hooks:
- id: requirements-txt-sorter
args:
Expand All @@ -35,37 +35,37 @@ repos:
- id: bind-requirements

- repo: https://github.com/domdfcoding/flake8-dunder-all
rev: v0.1.5
rev: v0.2.2
hooks:
- id: ensure-dunder-all
files: ^domdf_wxpython_tools/.*\.py$

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.7.0
rev: v1.9.0
hooks:
- id: python-no-eval

- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
rev: v2.37.3
hooks:
- id: pyupgrade
args:
- --py36-plus

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.9
rev: v1.3.1
hooks:
- id: remove-crlf
- id: forbid-crlf

- repo: https://github.com/domdfcoding/yapf-isort
rev: v0.5.5
rev: v0.6.0
hooks:
- id: yapf-isort
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$

- repo: https://github.com/domdfcoding/dep_checker
rev: v0.4.1
rev: v0.7.0
hooks:
- id: dep_checker
args:
Expand Down
2 changes: 1 addition & 1 deletion domdf_wxpython_tools/panel_listctrl/font_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def freezeargs(func: Callable) -> Callable:

@wraps(func)
def wrapped(*args, **kwargs):
args = tuple([frozendict(arg) if isinstance(arg, dict) else arg for arg in args])
args = tuple(frozendict(arg) if isinstance(arg, dict) else arg for arg in args)
kwargs = {k: frozendict(v) if isinstance(v, dict) else v for k, v in kwargs.items()}
return func(*args, **kwargs)

Expand Down