Add pyupgrade to CI runs (#314)

This commit is contained in:
Teemu R 2022-02-21 00:56:18 +01:00 committed by GitHub
parent db170cf1f5
commit e3d76bea75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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