diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml new file mode 100644 index 0000000..9065b5e --- /dev/null +++ b/.github/workflows/format.yaml @@ -0,0 +1,10 @@ +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: psf/black@stable diff --git a/some_file.py b/some_file.py new file mode 100644 index 0000000..1891ab7 --- /dev/null +++ b/some_file.py @@ -0,0 +1,7 @@ +a = [ + 1, + 2, + 3 +] + +print('hello world')