-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file was deleted.
Oops, something went wrong.