fixed linter
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m23s
Run linting on the backend code / Build (pull_request) Failing after 15s
Run testing on the backend code / Build (pull_request) Failing after 38s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 30s
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m23s
Run linting on the backend code / Build (pull_request) Failing after 15s
Run testing on the backend code / Build (pull_request) Failing after 38s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 30s
This commit is contained in:
@@ -15,17 +15,17 @@ jobs:
|
||||
|
||||
- uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install pylint
|
||||
run: |
|
||||
apt-get update && apt-get install -y python3 python3-pip
|
||||
pip install pipenv
|
||||
pip install pylint
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
ls -la
|
||||
# only install dev-packages
|
||||
pipenv install --categories=dev-packages
|
||||
working-directory: backend
|
||||
# - name: Install packages
|
||||
# run: |
|
||||
# ls -la
|
||||
# # only install dev-packages
|
||||
# uv sync
|
||||
# working-directory: backend
|
||||
|
||||
- name: Run linter
|
||||
run: pipenv run pylint src --fail-under=9
|
||||
|
Reference in New Issue
Block a user