Skip to content

Commit 0805c5f

Browse files
authored
Expose RF24_DRIVER and fix linking to shared utility driver libs (#46)
* expose RF24_DRIVER as rf24-module attr (str) * switch to ruff (remove dependency on black and pylint) * fix linking to utility driver shared lib (when needed) affects wiringPi, pigpio, MRAA drivers. Using these drivers previously to build from source ended up with undefined symbols in the dist.
1 parent edbef52 commit 0805c5f

30 files changed

+247
-702
lines changed

.github/workflows/build.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,11 @@ jobs:
5454
- name: check python typing
5555
run: mypy src
5656

57-
- name: check python examples PEP8 compliance
58-
# duplicate-code error gets flagged because some examples use similar code snippets
59-
run: pylint examples/*.py src/pyrf24/*.py --disable=duplicate-code --output-format=json:pylint.json
57+
- name: lint python sources
58+
run: ruff check examples/*.py src/pyrf24/*.py* setup.py docs/conf.py
6059

61-
- name: Match pylint problems to diff via github annotations
62-
run: python ./.github/workflows/pylint_matcher.py pylint.json
60+
- name: format python sources
61+
run: ruff format examples/*.py src/pyrf24/*.py* setup.py docs/conf.py
6362

6463
- name: Get doc dependencies
6564
run: |-

.github/workflows/pylint_matcher.py

-69
This file was deleted.

0 commit comments

Comments
 (0)