chore(deps-dev): bump requests from 2.28.2 to 2.31.0 #40
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: Checks | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Checks | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python 3 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install requirements | |
run: pip install -r requirements_dev.txt | |
- name: Format with black | |
run: black --diff --check $(git ls-files '*.py') | |
- name: Measure co-dependency between class elements with Cohesion | |
run: cohesion -f $(git ls-files '*.py') | |
- name: Type checking with mypy | |
run: mypy --strict --implicit-reexport $(git ls-files '*.py') | |
- name: Find unused code with Vulture | |
run: vulture $(git ls-files '*.py') |