Create Python_format.yml

This commit is contained in:
リーウ 2021-09-25 00:47:56 -03:00 committed by GitHub
parent 9d5b9a133c
commit 11ffd89356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
Python_format.yml Normal file
View file

@ -0,0 +1,17 @@
name: Format Python
on: [push, pull_request]
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Check formatting
run: |
pip install black==21.6b0
black --check --diff ./