Skip to content

Commit 28c7934

Browse files
committed
chore(ci): use pre-commit for codequality check on ci
1 parent dc2c807 commit 28c7934

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/codequality.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ jobs:
2323
run: pip install "pip<22"
2424
- name: Install dependencies
2525
run: |
26-
pip install ".[dev]" "mypy<1" "black<23"
27-
mypy --install-types --non-interactive reacton
28-
- name: Run black
29-
run: black reacton
30-
- name: Run flake
31-
run: flake8 reacton
32-
- name: mypy
33-
run: mypy reacton
26+
pip install ".[dev]"
27+
- name: Install pre-commit
28+
run: pre-commit install
29+
- name: Run pre-commit
30+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)