-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add ruff to the testing #421
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the existing style/pytest files as they were rather than moving everything to pyproject.toml
?
From validate-pyproject README:
PEP 621 – Storing project metadata in pyproject.toml was approved in 2020. |
b48151c
to
e491531
Compare
Seems reasonable to move to |
31dba73
to
31ec4b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cclauss You need to update Pipfile.lock
too.
31ec4b8
to
f851c2d
Compare
Unfortunately
|
f851c2d
to
a7fd846
Compare
Yes, it is... GitHub Action... name: dm-reverb
on:
push:
pull_request:
workflow_dispatch:
jobs:
dm-reverb:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04, ubuntu-24.04-arm ] # ARM always fails!!
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install dm-reverb If someone can add ruff to Pipfile.lock then I can rebase this PR getting rid of the pipx trick. |
351eb92
to
75585b2
Compare
Done. Will land once CI passes. |
https://docs.astral.sh/ruff
https://docs.astral.sh/ruff/linter
As suggested at