Update browser user agent strings (closes #44) #17
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: | |
branches: [master, develop] | |
paths: | |
- 'bing_rewards/**.py' | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Run Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
cache: "poetry" | |
- name: Install dependencies | |
run: poetry install --only dev | |
- name: Run black | |
run: poetry run black --check --verbose . | |
- name: Run flake8 | |
run: poetry run flake8 --statistics | |
- name: Run isort | |
run: poetry run isort -cv . |