Skip to content

Commit

Permalink
FIX: Possible fix for upload failure for wheels. (#1526)
Browse files Browse the repository at this point in the history
* FIX: Possible fix for upload failure for wheels.

* STY: Fix for ruff linting.
  • Loading branch information
zssherman authored Mar 7, 2024
1 parent e087887 commit a9e8ef5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ jobs:
- name: Download wheels
uses: actions/download-artifact@v4
with:
name: wheels-${{ matrix.os }}
pattern: wheels-*
path: dist
merge-multiple: true

- name: Publish to PyPI
uses: pypa/[email protected]
Expand Down
12 changes: 3 additions & 9 deletions pyart/retrieve/echo_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,7 @@ def feature_detection(
"valid_min": 0,
"valid_max": 3,
"comment_1": (
"{} = No surface echo/Undefined, {} = Background echo, {} = Features, {} = weak echo".format(
nosfcecho, bkgd_val, feat_val, weakecho
)
f"{nosfcecho} = No surface echo/Undefined, {bkgd_val} = Background echo, {feat_val} = Features, {weakecho} = weak echo"
),
}
}
Expand Down Expand Up @@ -583,9 +581,7 @@ def feature_detection(
"valid_min": 0,
"valid_max": 3,
"comment_1": (
"{} = No surface echo/Undefined, {} = Background echo, {} = Features, {} = weak echo".format(
nosfcecho, bkgd_val, feat_val, weakecho
)
f"{nosfcecho} = No surface echo/Undefined, {bkgd_val} = Background echo, {feat_val} = Features, {weakecho} = weak echo"
),
}

Expand All @@ -596,9 +592,7 @@ def feature_detection(
"valid_min": 0,
"valid_max": 3,
"comment_1": (
"{} = No surface echo/Undefined, {} = Background echo, {} = Features, {} = weak echo".format(
nosfcecho, bkgd_val, feat_val, weakecho
)
f"{nosfcecho} = No surface echo/Undefined, {bkgd_val} = Background echo, {feat_val} = Features, {weakecho} = weak echo"
),
}

Expand Down

0 comments on commit a9e8ef5

Please sign in to comment.