Skip to content

Commit

Permalink
Expose RF24_DRIVER and fix linking to shared utility driver libs (#46)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
2bndy5 authored Mar 19, 2024
1 parent edbef52 commit 0805c5f
Show file tree
Hide file tree
Showing 30 changed files with 247 additions and 702 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ jobs:
- name: check python typing
run: mypy src

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

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

- name: Get doc dependencies
run: |-
Expand Down
69 changes: 0 additions & 69 deletions .github/workflows/pylint_matcher.py

This file was deleted.

Loading

0 comments on commit 0805c5f

Please sign in to comment.