[Snyk] Security upgrade setuptools from 44.1.0 to 70.0.0 #3
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: Lint | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- name: Install requirements | |
run: pip install flake8 pycodestyle | |
- name: Check syntax | |
# Stop the build if there are Python syntax errors or undefined names | |
run: flake8 --count --statistics --show-source | |
- name: Warnings | |
run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --extend-exclude="" |