Skip to content

Commit 0711adf

Browse files
committed
ci: configure lint step to run pre-commit
1 parent c58b202 commit 0711adf

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,12 @@ jobs:
2727
- name: install packages to tests
2828
run: pip install ./psycopg[dev,test]
2929

30-
- name: Run black
31-
run: black --check --diff .
32-
33-
- name: Run flake8
34-
run: flake8
35-
36-
- name: Run mypy
37-
run: mypy
30+
- name: Lint codebase
31+
run: pre-commit run -a --color=always
3832

3933
- name: Check for sync/async inconsistencies
4034
run: ./tools/async_to_sync.py --check --all
4135

42-
- name: Check spelling
43-
run: codespell
44-
4536
- name: Install requirements to generate docs
4637
run: sudo apt-get install -y libgeos-dev
4738

0 commit comments

Comments
 (0)