Closed VinciGit00 closed 4 months ago
Facing the same. I followed the official example - https://github.com/actions/starter-workflows/blob/main/ci/pylint.yml Here are my job results - https://github.com/AmberSahdev/Open-Interface/actions/runs/8107217101/job/22158371453
@VinciGit00 were you able to resolve this?
@AmberSahdev Hi buddy, I'm encountering the same issue. Here's a temporary workaround I found. In the analyzing code part, modify it to be like :
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --output=lint.txt || true
name: Pylint
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --output=lint.txt || true
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: lint.txt
path: lint.txt
it works also with this ` name: Pylint
on: [push]
jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.10"] steps:
`
Great to know that @VinciGit00 !
why is this issue closed? searching through the marketplace, one still comes the fault workflow!
You should do run: pylint --disable=C0114,C0115,C0116 --exit-zero
The only way to solve this, without disabling the warnings, is the way @Soft-Buddy exposed, thank you.
Hello to everyone, I used Github actions with Pylint. My overall score is 8.92 out of 10 and I still have the error number 30 Error: Process completed with exit code 30. My configuration is the following: `name: Pylint
on: [push]
jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.10"] steps: