This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
align codestyle to paddle #944
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: CodeStyle Check | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
name: CodeStyle Check | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
# Run pre-commit on the lowest supported python version | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
pip install pre-commit | |
- name: Precommit Check | |
run : pre-commit run --all-files |