8000 Fix or silence `ruff check` warnings; add `ruff check` to Github Actions by roryyorke · Pull Request #246 · python-control/Slycot · GitHub
[go: up one dir, main page]

Skip to content

Fix or silence ruff check warnings; add ruff check to Github Actions #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 1, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
8000
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Run "ruff check" on source in Github action
  • Loading branch information
roryyorke committed Jan 19, 2025
commit f305cc5199e243e0977c5c6dff401da919aae567
18 changes: 18 additions & 0 deletions .github/workflows/slycot-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ on:

jobs:

ruff-lint:
name: Static lint checks with ruff
runs-on: ubuntu-latest
steps:
- name: Checkout Slycot
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Run ruff check
run: |
pip install ruff
ruff check slycot

build-sdist:
# Super fast sniff build. If this fails, don't start the other jobs
name: Build sdist on Ubuntu
Expand Down
0