From 5bb28792c83c64792a48643907d67332c1dcab72 Mon Sep 17 00:00:00 2001 From: Julien Esseiva Date: Fri, 4 Oct 2024 14:47:08 -0700 Subject: [PATCH] lint with ruff --- .github/workflows/main.yml | 7 +------ pyproject.toml | 5 +++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b040aa..9898332 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 113b8b4..2a23446 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,3 +64,8 @@ select = [ # isort "I" ] + +ignore = [ + # pycodestyle + "E501", +]