forked from drath/libratbag
build: add Python code formatting with black
NOTE: this will fail tests as of this commit, as the code is not formatted yet. We didn't explicitly specify a minimum Python version before that, so I used v3.7 here, because it's the minimal version Ruff - a Python linter I will add in the next commit - supports.
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -8,7 +8,7 @@ env:
|
||||
libjson-glib-dev libsystemd-dev libudev-dev libunistring-dev
|
||||
python3-dev python3-evdev swig python3-sphinx
|
||||
UBUNTU_DEP_TEST: check python3-gi python3-lxml valgrind
|
||||
PIP_PACKAGES: meson ninja libevdev pyudev pytest sphinx_rtd_theme
|
||||
PIP_PACKAGES: meson ninja libevdev pyudev pytest sphinx_rtd_theme black
|
||||
|
||||
jobs:
|
||||
build-and-dist:
|
||||
|
||||
Reference in New Issue
Block a user