Skip to content

Commit

Permalink
ci: Add ruff-format check
Browse files Browse the repository at this point in the history
- Add CI step
- Fix errors
  • Loading branch information
wismill committed Jul 12, 2024
1 parent 809704e commit b5d3fa9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade meson PyYAML
python -m pip install --upgrade meson PyYAML ruff
sudo apt update
sudo apt install -y \
doxygen libxcb-xkb-dev valgrind ninja-build \
Expand Down Expand Up @@ -81,3 +81,6 @@ jobs:
name: doxygen-docs
path: |
build/html/
- name: Ruff format
run:
ruff format --line-length=88 --check --diff .
1 change: 1 addition & 0 deletions scripts/perfect_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
with a new graph, and thereby discarding the vertex values from the failed
attempt.
"""

from __future__ import absolute_import, division, print_function

import sys
Expand Down
1 change: 1 addition & 0 deletions test/symbols-leak-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
If this fails, please update the appropriate .map file (adding new version
nodes as needed).
"""

import os
import pathlib
import re
Expand Down

0 comments on commit b5d3fa9

Please sign in to comment.