Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Sep 26, 2023
1 parent 31cd2be commit 9d4a761
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction

- name: Lint (flake8)
run: poetry run pre-commit run flake8 --all-files --show-diff-on-failure

- name: Order of imports (isort)
run: poetry run pre-commit run isort --all-files --show-diff-on-failure
- name: Lint (ruff)
run: poetry run pre-commit run ruff --all-files --show-diff-on-failure

- name: Formatting (black)
run: poetry run pre-commit run black --all-files --show-diff-on-failure
Expand All @@ -59,11 +56,6 @@ jobs:
- name: Generate pipeline definitions
run: poetry run pre-commit run gen-docs-components --all-files --show-diff-on-failure

# TODO: enable when PEP 604 incompatibilty is in typer is resolved https://github.com/tiangolo/typer/issues/348
# See https://github.com/tiangolo/typer/pull/522
# - name: Syntax (pyupgrade)
# run: poetry run pre-commit run --hook-stage manual pyupgrade --all-files

- name: Test
run: poetry run pytest tests

Expand Down

0 comments on commit 9d4a761

Please sign in to comment.