fix(autodisc-server): raise exceptions to front #44
Workflow file for this run
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: Format code | |
on: | |
pull_request: | |
jobs: | |
format-python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
# NOTE: isort should run before black as black formats the sort results | |
- name: Run isort import sorter | |
uses: isort/isort-action@v1 | |
with: | |
configuration: "--check-only --profile black" | |
- name: Run Black python formatter | |
uses: psf/black@stable | |
with: | |
options: "--check" | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Run Prettier formatter for JS/HTML/CSS/etc. | |
uses: creyD/prettier_action@v4.3 |