Bump urllib3 from 2.0.2 to 2.0.7 #42
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: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Set up poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Install dependencies | |
run: | | |
python -m poetry install | |
- name: Analysing the code with pylint | |
run: | | |
python -m poetry run pylint $(git ls-files 'searchmate/*.py') | |
- name: Analysing the code with black | |
run: | | |
python -m poetry run black \ | |
--check --line-length 80 $(git ls-files 'searchmate/*.py') |