Skip to content

Commit

Permalink
Merge pull request #93 from boanlab/fix_pylint2
Browse files Browse the repository at this point in the history
Fix pylint
  • Loading branch information
isu-kim authored May 10, 2024
2 parents 45fe7ce + 18618c8 commit 4160d43
Show file tree
Hide file tree
Showing 7 changed files with 841 additions and 12 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci-test-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pip install -r requirements.txt
working-directory: ai-engine

py-lint-ai-sentryflow:
py-ruff-ai-sentryflow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -47,11 +47,32 @@ jobs:
ruff --output-format=github .
working-directory: ai-engine

py-lint-ai-sentryflow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
working-directory: ai-engine

- name: Lint with Pylint
run: |
pylint ai_engine.py
working-directory: ai-engine

py-pep8-ai-sentryflow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Run PEP8'
uses: quentinguidee/pep8-action@v1
with:
arguments: '--max-line-length=120 --exclude=./ai-engine/stringlifier/*'
arguments: '--max-line-length=120 --exclude=*stringlifier/*,*protobuf/*'
Loading

0 comments on commit 4160d43

Please sign in to comment.