File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 lint :
99 name : Linter pull request
1010 runs-on : ubuntu-latest
11+ defaults :
12+ run :
13+ working-directory : .
1114 steps :
1215 - name : Checkout Code
1316 uses : actions/checkout@v3
1417 with :
1518 fetch-depth : 0
19+ - name : Install Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.10'
23+ check-latest : true
24+ - name : Setup Poetry
25+ uses : Gr1N/setup-poetry@v7
26+ - name : Install dependencies
27+ run : poetry install
1628 - name : Lint python code
17- uses : github/super-linter@v4
18- env :
19- VALIDATE_ALL_CODEBASE : false
20- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21- DEFAULT_BRANCH : main
22- PYTHON_FLAKE8_CONFIG_FILE : .flake8
23- VALIDATE_PYTHON_FLAKE8 : true
29+ run : poetry run flake8
30+ # steps:
31+ # - name: Checkout Code
32+ # uses: actions/checkout@v3
33+ # with:
34+ # fetch-depth: 0
35+ # - name: Lint python code
36+ # uses: github/super-linter@v4
37+ # env:
38+ # VALIDATE_ALL_CODEBASE: false
39+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+ # DEFAULT_BRANCH: main
41+ # PYTHON_FLAKE8_CONFIG_FILE: .flake8
42+ # VALIDATE_PYTHON_FLAKE8: true
You can’t perform that action at this time.
0 commit comments