mirror of
https://github.com/talaia-labs/rust-teos.git
synced 2026-08-13 12:33:22 +02:00
Merge pull request #233 from anipaul2/issue230
Add black check to Python files in CI
This commit is contained in:
commit
6cc466c359
1 changed files with 12 additions and 1 deletions
13
.github/workflows/build.yaml
vendored
13
.github/workflows/build.yaml
vendored
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue