diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b1b91fe4..5e0d9d7d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,4 +46,12 @@ jobs: cargo fmt --verbose --check -- --color always - name: Run clippy run: | - cargo clippy --all-features --all-targets --color always -- --deny warnings \ No newline at end of file + cargo clippy --all-features --all-targets --color always -- --deny warnings + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.9' + - name: Install black + run: pip install black + - name: Check Python formatting + run: black . --check -l 120 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3b7e0f70..481e175e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ target __pycache__ .vscode -.idea \ No newline at end of file +.idea +.DS_Store \ No newline at end of file