Skip to content

Commit

Permalink
Configure prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
druzhinin-kirill committed Feb 28, 2024
1 parent caee13c commit 43987f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
pdm sync -d
- name: Run Prettier
uses: creyD/[email protected]
with:
dry: True
prettier_options: "--check **/*.{json,yaml,yml,md}"
- name: Run Tox
run: |
pdm run tox -e py,lint
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
hooks:
- id: prettier
description: Run prettier
types_or: [yaml, toml, json, markdown]
types_or: [yaml, json, markdown]
- repo: local
hooks:
- id: tox_lint
Expand Down

0 comments on commit 43987f9

Please sign in to comment.