diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c9e8d2b..b1e904d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/src/pyloidal/cocos.py b/src/pyloidal/cocos.py index 1f46dfb..aea2f0e 100644 --- a/src/pyloidal/cocos.py +++ b/src/pyloidal/cocos.py @@ -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(