mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Add pyupgrade to CI runs (#314)
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -26,6 +26,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip poetry
|
python -m pip install --upgrade pip poetry
|
||||||
poetry install
|
poetry install
|
||||||
|
- name: "Run pyupgrade"
|
||||||
|
run: |
|
||||||
|
poetry run pre-commit run pyupgrade --all-files
|
||||||
- name: "Code formating (black)"
|
- name: "Code formating (black)"
|
||||||
run: |
|
run: |
|
||||||
poetry run pre-commit run black --all-files
|
poetry run pre-commit run black --all-files
|
||||||
|
Reference in New Issue
Block a user