Skip to content

Commit

Permalink
lint with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
esseivaju committed Oct 4, 2024
1 parent ab6e2da commit 5bb2879
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,9 @@ jobs:
${{ runner.os }}-pip-
- name: Install Hatch
uses: pypa/hatch@a3c83ab3d481fbc2dc91dd0088628817488dd1d5
- name: Install application and deps
run: |
python -m pip install --upgrade pip
pip install .
- name: Linting
run: |
pip install flake8
flake8 .
ruff check
- name: Run tests
run: |
hatch run test:pytest
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,8 @@ select = [
# isort
"I"
]

ignore = [
# pycodestyle
"E501",
]

0 comments on commit 5bb2879

Please sign in to comment.