Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasarus committed Jun 11, 2024
1 parent 7b72cf7 commit 9b842b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,22 @@ jobs:
python -m pip install --upgrade pip
python -m pip install .[formatting]
- name: Run black
- name: Run ruff formatting
run: |
black --line-length 120 .
ruff format .
- name: Run ruff linting
run: |
ruff check --fix
- name: Commit changes
run: |
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "black auto commit" || true
git push
git commit -m "Formatting and linting commit" || true
git push
- name: Run mypy
run: |
mypy --strict rundetection
36 changes: 0 additions & 36 deletions .github/workflows/linting.yml

This file was deleted.

0 comments on commit 9b842b0

Please sign in to comment.