Skip to content

Commit

Permalink
Separate lint with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
jorblancoa committed Oct 16, 2024
1 parent 33f20f6 commit c855fb1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint Check

on: [pull_request, push, workflow_dispatch]

jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5

- name: Install flake8
run: pip install flake8-pyproject

- name: Run flake8
run: flake8 neurodamus tests
4 changes: 0 additions & 4 deletions .github/workflows/simulation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,6 @@ 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

0 comments on commit c855fb1

Please sign in to comment.