fix style #8
Workflow file for this run
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
name: Check code style for plugin | |
on: [push, pull_request] | |
jobs: | |
Check-Code-Style-for-Plugin-Processing-R: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: 'x64' | |
- name: Install Black and Isort | |
run: | | |
pip install -r REQUIREMENTS_TESTING.txt | |
pip install black isort pylint pycodestyle | |
- name: Run Black | |
run: black processing_r --check --line-length 120 | |
- name: Run Isort | |
run: isort processing_r --check-only --diff --profile black --line-width 120 | |
- name: Pylint | |
run: make pylint | |
- name: Pycodestyle | |
run: make pycodestyle |