Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yjmm10 committed Aug 13, 2024
1 parent f719c5f commit baa0499
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,20 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox isort black pylint
pip install isort==5.12.0 black==23.7.0 pylint==2.17.5
- name: Run isort
run: isort . --check-only --diff
- name: Run black
run: black .
# - name: Run pylint
# run: pylint **/*.py --exit-zero --output-format=parseable --reports=y > pylint_report.txt
- name: Run linting
run: |
tox -e isort
# tox -e pylint
# - name: Upload pylint report
# uses: actions/upload-artifact@v2
# with:
# name: pylint-report
# path: pylint_report.txt
isort --version
isort . --check-only --diff --profile black
- name: Run black
run: black --check --diff .
- name: Run pylint
run: pylint **/*.py --exit-zero --output-format=parseable --reports=y > pylint_report.txt
- name: Upload pylint report
uses: actions/upload-artifact@v2
with:
name: pylint-report
path: pylint_report.txt
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit baa0499

Please sign in to comment.