mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-26 08:36:22 +00:00
Add pyupgrade to CI runs (#314)
This commit is contained in:
parent
db170cf1f5
commit
e3d76bea75
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user