Merge pull request #233 from anipaul2/issue230

Add black check to Python files in CI
This commit is contained in:
Sergi Delgado Segura 2023-08-21 09:23:38 +02:00 committed by GitHub
commit 6cc466c359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,4 +46,15 @@ jobs:
cargo fmt --verbose --check -- --color always
- name: Run clippy
run: |
cargo clippy --all-features --all-targets --color always -- --deny warnings
cargo clippy --all-features --all-targets --color always -- --deny warnings
python-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Run black
uses: psf/black@stable
with:
src: "./watchtower-plugin/tests"
options: "--check -l 120"