This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Update for Set 11 (#247) #495
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
linting: | |
runs-on: [windows-latest] | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: isort | |
run: | | |
isort --check . | |
- name: flake8 | |
run: | | |
flake8 | |
- name: black | |
run: | | |
black . --check --verbose --diff | |
- name: pylint | |
run: | | |
pylint --rcfile .pylintrc --persistent n --fail-under 10 -sn *.py |