Skip to content

Add pre-commit for code formatting #2

Add pre-commit for code formatting

Add pre-commit for code formatting #2

Workflow file for this run

name: pre-commit
on:
push:
branches:
- master
- 'dev**'
pull_request:
schedule:
- cron: '0 5 * * *'
jobs:
pre-commit:
runs-on: ubuntu-22.04
env:
SKIP: no-commit-to-branch
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: apt
run: |
sudo apt update
sudo apt install -y dos2unix
- uses: pre-commit/[email protected]