Skip to content

Merge pull request #31 from ieasybooks/json_output #17

Merge pull request #31 from ieasybooks/json_output

Merge pull request #31 from ieasybooks/json_output #17

Workflow file for this run

name: Formatter
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Run Formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: black formatter
uses: rickstaa/action-black@v1
with:
black_args: ". --check --diff --skip-string-normalization --line-length 120"
- name: isort formatter
uses: isort/isort-action@v1
with:
configuration: "--profile black --src tafrigh --line-length 120 --lines-between-types 1 --lines-after-imports 2 --case-sensitive --trailing-comma --check-only --diff"