Skip to content

Commit

Permalink
fix precommit black version
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornaer committed Mar 30, 2022
1 parent 4ff5a30 commit cdfd288
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_maths/basic_maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

@pipeline_function
def square(a: float) -> float:
return a ** 2
return a**2


@pipeline_function
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pipeline_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def add(f_1: float, f_2: float) -> float:

@pipeline_function
def square(f_1: float) -> float:
return f_1 ** 2
return f_1**2

with Pipeline("test") as my_pipeline:
in_1 = Variable(float, is_input=True)
Expand Down

0 comments on commit cdfd288

Please sign in to comment.