Skip to content

Commit

Permalink
Use black for .py files formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anipaul2 committed Jul 25, 2023
1 parent bacac07 commit 45b5b71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
target
__pycache__
.vscode
.idea
.idea
.DS_Store

0 comments on commit 45b5b71

Please sign in to comment.