Skip to content

Commit 504155f

Browse files
Merge pull request #79 from python-thread/ci/linter
Fix linting CI
2 parents c65318b + 81ad835 commit 504155f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/linter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
- name: Install requirements
2222
run: |
2323
set -xe
24-
python -m pip install ruff
24+
python -m pip install poetry
25+
python -m poetry install
2526
2627
- name: Lint with ruff
2728
run: |
2829
set -xe
29-
python -m ruff --per-file-ignores="__init__.py:F401" --per-file-ignores="__init__.py:E402" .
30+
python -m poetry run ruff format --check

0 commit comments

Comments
 (0)