conf: add huion and xp-pen to our default snippet #157
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) | |