Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
correct file-ending
  • Loading branch information
tschm committed Dec 7, 2024
commit 1b18d60ebcfcebe311efc3f3e34c85be30590b4c
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
max-line-length = 120
extend-ignore = E203
per-file-ignores =
tests/test_imports.py:F401
tests/test_imports.py:F401
19 changes: 12 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,23 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest ecos black isort flake8
pip install pytest ecos black
# isort black flake8
# pip install ecos
- name: Test with pytest
run: |
pytest ./tests
- name: Check with isort
run: |
isort --check --diff .


# isort is replaced by ruff
#- name: Check with isort
# run: |
# isort --check --diff .
- name: Check with black
run: |
black --check --diff .
- name: Check with flake8
run: |
flake8 --show-source --statistics .

# flake8 is replaced by ruff
#- name: Check with flake8
# run: |
# flake8 --show-source --statistics .