Skip to content

Commit

Permalink
Update ci-test-py
Browse files Browse the repository at this point in the history
  • Loading branch information
csb0710 committed May 10, 2024
1 parent 1708731 commit df0b36a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-test-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
- name: Create pyproject.toml
run: |
echo "[tool.ruff.lint.per-file-ignores]" > pyproject.toml
echo '"stringlifier/*" = ["*"]' >> pyproject.toml
echo '"stringlifier/*" = ["E402"]' >> pyproject.toml
echo '"stringlifier/*" = ["F811"]' >> pyproject.toml
echo '"stringlifier/*" = ["F401"]' >> pyproject.toml
working-directory: ai-engine

- name: Lint with Ruff
Expand All @@ -54,4 +56,4 @@ jobs:
- name: 'Run PEP8'
uses: quentinguidee/pep8-action@v1
with:
arguments: '--max-line-length=120 --ignore=ai-engine/stringlifier/*'
arguments: '--max-line-length=120 --ignore=./ai-engine/stringlifier/*'

0 comments on commit df0b36a

Please sign in to comment.