From 11ffd893561c7bc3fc3af10a0ead3685bde4d7aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AA=E3=83=BC=E3=82=A6?= <82917144+l198881@users.noreply.github.com> Date: Sat, 25 Sep 2021 00:47:56 -0300 Subject: [PATCH] Create Python_format.yml --- Python_format.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Python_format.yml diff --git a/Python_format.yml b/Python_format.yml new file mode 100644 index 0000000..a295db8 --- /dev/null +++ b/Python_format.yml @@ -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 ./