Implement support for devices with two relative wheels / dials #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ push, pull_request ] | |
permissions: | |
contents: read | |
jobs: | |
python-black: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- run: pip install black | |
- run: black test/ | |
- run: git diff --exit-code || (echo "Please run black to reformat Python files" && false) | |