File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : PyLint
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ python-version : ["3.11"]
11+ steps :
12+ # Step 1: Checkout code
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ # Step 2: Set up Python environment
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v3
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+
22+ # Step 3: Install dependencies
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install -r src/ContentProcessorAPI/requirements.txt
27+ pip install flake8 # Ensure flake8 is installed
28+
29+
30+ # Step 4: Run all code quality checks
31+ - name : Pylint
32+ run : |
33+ echo "Running Pylint..."
34+ python -m flake8 --config=.flake8 --verbose .
You can’t perform that action at this time.
0 commit comments