Skip to content

Fixes an error when no config file present (assume default config) + tests #210

Fixes an error when no config file present (assume default config) + tests

Fixes an error when no config file present (assume default config) + tests #210

Workflow file for this run

name: Reviewdog
on:
pull_request:
types: [opened, edited, synchronize, review_requested, reopened]
jobs:
reviewdog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install
run: |
python -m pip install -U pip
pip install --progress-bar off -U .[checking]
- name: Apply formatters
run: |
pip install black blackdoc isort
black .
blackdoc .
isort .
- name: Reviewdog
uses: reviewdog/action-suggester@v1
with:
tool_name: formatters
github_token: ${{ secrets.GITHUB_TOKEN }}