Skip to content

Commit

Permalink
Merge pull request deepmodeling#61 from dptech-corp/add-auto-formating
Browse files Browse the repository at this point in the history
add formating
  • Loading branch information
zjgemi authored Jun 10, 2022
2 parents 4930f16 + f5fa311 commit 632d1fa
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: auto-formating the commit

on:
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.9']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install flake8
run: |
python -m pip install flake8==3.8.3
- name: Run formating
run: |
flake8 src

0 comments on commit 632d1fa

Please sign in to comment.