Cleaned a bit for pep8 and updated to latest pyomeca #28
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
# Checks if the code is formatted with black. | |
name: is your code linted with black? | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.10' | |
- name: Install Black | |
run: pip install black | |
- name: Run black --check . | |
run: black . --check -l120 |