Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup linting and formatting using ruff #62

Merged
merged 14 commits into from
Oct 7, 2024
Prev Previous commit
Next Next commit
lint with ruff
  • Loading branch information
esseivaju committed Oct 4, 2024
commit 5bb28792c83c64792a48643907d67332c1dcab72
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -64,3 +64,8 @@ select = [
# isort
"I"
]

ignore = [
# pycodestyle
"E501",
]
Loading