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

updating black due to introduced bug on older versions #71

Merged
merged 2 commits into from
Mar 30, 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
2 changes: 1 addition & 1 deletion .github/workflows/prod-wf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
version: 21.12b0
version: 22.3.0

test:
runs-on: ubuntu-latest
Expand Down
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
42 changes: 30 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pydantic = "^1.8.2"
requests = "^2.26.0"
pyhumps = "^3.0.2"
pytest = "^6.2.5"
black = "^21.12b0"
black = "^22.3.0"
pre-commit = "^2.16.0"
flake8 = "^4.0.1"
isort = "^5.10.1"
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