Skip to content

Commit

Permalink
Update sdk-build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: pem70 <[email protected]>
  • Loading branch information
pem70 committed Jul 22, 2024
1 parent bc13cdf commit e110515
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/sdk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,11 @@ jobs:
- name: Lint with pydoclint
run: pydoclint --exclude='.*/build/.*' src
- name: Lint with pylint
<<<<<<< HEAD
run: pylint src --disable=all --enable=C0103 --ignore=build
- name: Check and add license headers
run: python scripts/license_header.py src
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 ./src --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 ./src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
=======
run: |
# check for Python errors
pylint src --errors-only --disable=E0401,E0611 --ignore=build
# check for lint
pylint ./src --disable=all --enable=C0103,C0301 --ignore=build --max-line-length=127
>>>>>>> function_case
- name: Test with pytest
run: |
coverage run -m pytest ./tests/unit
Expand Down

0 comments on commit e110515

Please sign in to comment.