Skip to content

Commit

Permalink
user action-py-black-formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Jul 31, 2024
1 parent 52d9ca9 commit f4929d8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/prettier-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Test yarn
run: |
yarn --version
yarn add --exact prettier @prettier/plugin-python
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{js,md,py}
prettier_options: --write **/*.{js,md}


- name: Run python black code formatter
uses: DataDog/[email protected]
with:
check_mode: "true"

0 comments on commit f4929d8

Please sign in to comment.