Skip to content

Commit

Permalink
Testin4
Browse files Browse the repository at this point in the history
  • Loading branch information
UtkarshMishra-Microsoft committed Dec 4, 2024
1 parent 9371b70 commit 584f253
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,18 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
# Step 4: Run Autopep8 Fix for app.py
- name: Fix with Autopep8
run: python -m autopep8 --in-place --verbose app.py
# Step 4: Fix imports with Isort
- name: Fix with Isort
run: python -m isort --verbose .

# Step 5: Run Pylint for app.py
- name: Run Pylint
run: python -m pylint app.py --rcfile=.pylintrc || true
# Step 5: Format code with Black
- name: Format with Black
run: python -m black --verbose .

# Step 6: Run Flake8 for app.py
# Step 6: Run Flake8 for linting
- name: Run Flake8
run: python -m flake8 --config=.flake8 app.py

# Step 7: Fix imports with Isort
- name: Fix with Isort
run: python -m isort app.py

# Step 7: Run Black fix for app.py
- name: Run Black Fix
run: python -m black app.py
run: python -m flake8 --config=.flake8 --verbose .

# Step 8: Run fic Isort for app.py
- name: Run Isort
run: python -m isort --verbose app.py
# Step 7: Run Pylint for static analysis
- name: Run Pylint
run: python -m pylint --rcfile=.pylintrc --verbose . || true

0 comments on commit 584f253

Please sign in to comment.