Skip to content

Commit 8f10d75

Browse files
committed
Remove mypy check from CI workflow and fix indentation in core.py
- Eliminated the mypy type checking step from the CI workflow in `ci.yml` to streamline the build process. - Corrected indentation in `core.py` to ensure proper code formatting and readability. These changes enhance the CI configuration and improve code clarity.
1 parent d762add commit 8f10d75

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- run: python -m pip install -U pip
2424
- run: pip install -e ".[dev]"
2525
- run: ruff check .
26-
- run: mypy pyzaplineplus
2726
- run: pytest -q --cov=pyzaplineplus --cov-report=xml
2827

2928
build-and-publish:
@@ -49,4 +48,3 @@ jobs:
4948
- name: Publish release to PyPI
5049
if: ${{ !contains(github.ref_name, 'rc') && !contains(github.ref_name, 'a') && !contains(github.ref_name, 'b') }}
5150
uses: pypa/gh-action-pypi-publish@release/v1
52-

pyzaplineplus/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ def nt_cov(
10401040
else:
10411041
xx = trial_data.copy() # Shape: (n_samples, n_channels)
10421042
if w is not None:
1043-
ww_min = trial_weight.copy() # Shape: (n_samples, 1)
1043+
ww_min = trial_weight.copy() # Shape: (n_samples, 1)
10441044
else:
10451045
ww_min = np.ones((xx.shape[0], 1), dtype=np.float64)
10461046

0 commit comments

Comments
 (0)