Skip to content

Commit 5b1ab54

Browse files
[pre-commit.ci] pre-commit autoupdate (#27)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.2.0...v4.4.0) - [github.com/psf/black: 22.3.0 → 23.1.0](psf/black@22.3.0...23.1.0) - [github.com/PyCQA/flake8: 4.0.1 → 6.0.0](PyCQA/flake8@4.0.1...6.0.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8bc4e8f commit 5b1ab54

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.2.0
5+
rev: v4.4.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-yaml
1010
- id: check-added-large-files
1111
- repo: https://github.com/psf/black
12-
rev: 22.3.0
12+
rev: 23.1.0
1313
hooks:
1414
- id: black
1515
args: [--config, pyproject.toml]
@@ -24,7 +24,7 @@ repos:
2424
- id: darglint
2525
args: [-v 2] # this config makes the error messages a bit less cryptic.
2626
- repo: https://github.com/PyCQA/flake8
27-
rev: 4.0.1
27+
rev: 6.0.0
2828
hooks:
2929
- id: flake8
3030
args: [--exclude, nbconvert_config.py]

pandas_flavor/register.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ def handle_end_method_call(self, ret: object) -> None:
7979
ret = method(obj, *args, **kwargs)
8080
else:
8181
all_args = tuple([obj] + list(args))
82-
(new_args, new_kwargs,) = method_call_ctx.handle_start_method_call(
82+
(
83+
new_args,
84+
new_kwargs,
85+
) = method_call_ctx.handle_start_method_call(
8386
method.__name__, method_signature, all_args, kwargs
8487
)
8588
args = new_args[1:]

0 commit comments

Comments
 (0)