Skip to content

Commit

Permalink
actully adding python linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack committed Oct 13, 2024
1 parent 4bc29ec commit b119669
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@ jobs:
pytest -s websocketUnitTest.py
# lint:
# runs-on: ubuntu-latest
lint:
runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v3
steps:
- name: Checkout code
uses: actions/checkout@v3

# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.x'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

# - name: Download and cache virtual environment
# run: |
# pip install virtualenv
# virtualenv env
# source env/bin/activate
# pip install -r requirements.txt
- name: Download and cache virtual environment
run: |
pip install virtualenv
virtualenv env
source env/bin/activate
pip install -r requirements.txt
# - name: Lint Python Files
# run: |
# cd backend
# pylint *.py || true
- name: Lint Python Files
run: |
cd backend
pylint *.py || true

0 comments on commit b119669

Please sign in to comment.