[자동차 경주] 김성규 과제 제출합니다. #63
Workflow file for this run
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: Check Indentation Depth | |
on: pull_request | |
jobs: | |
check-indent: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install pylint | |
run: pip install pylint | |
- name: Create pylint config | |
run: | | |
echo "[FORMAT]" > .pylintrc | |
echo "max-nested-blocks=2" >> .pylintrc | |
echo "[MESSAGES CONTROL]" >> .pylintrc | |
echo "disable=all" >> .pylintrc | |
echo "enable=format" >> .pylintrc | |
- name: Run pylint | |
run: pylint --rcfile=.pylintrc src/ |