Skip to content

Commit

Permalink
MyPy CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamPattinson committed Nov 7, 2023
1 parent b377004 commit 4253119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install MyPy
- name: Install Project and MyPy
run: |
python -m pip install --upgrade pip
python -m pip install mypy
python -m pip install .[lint]
- name: Run MyPy
run: |
mypy src
2 changes: 1 addition & 1 deletion src/pyloidal/cocos.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def identify_cocos(
sigma_rpz = -1 if clockwise_phi else 1
sigma_rtp = sign_q * sign_plasma_current * sign_b_toroidal

# identify 2*pi term in poloidal_flux definition based on safety_factor estimate
# identify 2*pi term in poloidal_flux definition based on safety_factor estimate.
if minor_radii is None:
# Return both variants if not provided with minor radii
return tuple(
Expand Down

0 comments on commit 4253119

Please sign in to comment.