Skip to content

Commit

Permalink
Add flake8 in github actions and fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jorblancoa committed Oct 10, 2024
1 parent f85b27a commit 533687c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/simulation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ jobs:
- name: Install test dependencies
run: |
pip install -r tests/requirements.txt
pip install flake8 flake8-pyproject
- name: Run flake8
run: flake8 .

- name: test-unit
run: |
Expand Down
1 change: 1 addition & 0 deletions tests/integration-e2e/test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def _create_reports_config(original_config_path: Path, tmp_path: Path) -> tuple[

return str(temp_config_path), str(output_dir)


@pytest.mark.slow
def test_v5_sonata_reports(tmp_path):
import numpy.testing as npt
Expand Down
2 changes: 1 addition & 1 deletion tests/scientific/test_lfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def _read_sonata_lfp_file(lfp_file):
return node_ids, data


def _create_lfp_config(original_config_path: Path, lfp_file: Path, tmp_path: Path) -> tuple[Path, Path]:
def _create_lfp_config(original_config_path, lfp_file, tmp_path):
"""
Create a modified lfp configuration file in a temporary directory.
"""
Expand Down

0 comments on commit 533687c

Please sign in to comment.