diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 18c4d2c..1243c46 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: # the frequency of unnecessary PRs. # https://github.com/pre-commit-ci/issues/issues/83 autoupdate_schedule: quarterly - skip: [pylint, pnpm-prettier] + skip: [pylint, prettier] # use pypy3 for python default_language_version: @@ -73,22 +73,10 @@ repos: - id: add-trailing-comma - repo: local hooks: - - id: pnpm-prettier + - id: prettier name: prettier entry: pnpm exec prettier --cache --ignore-unknown --write language: system - exclude_types: [json] - # - repo: https://github.com/rbubley/mirrors-prettier - # rev: "v3.3.0" - # hooks: - # - id: prettier - # exclude_types: [python, pyi, jupyter] - # additional_dependencies: [ - # # https://www.npmjs.com/package/prettier - # "prettier@3.2.5", - # # https://www.npmjs.com/package/@prettier/plugin-ruby - # "@prettier/plugin-ruby@4.0.4", - # ] - repo: https://github.com/psf/black rev: 24.4.2 hooks: diff --git a/.prettierignore b/.prettierignore index e69de29..a6c57f5 100644 --- a/.prettierignore +++ b/.prettierignore @@ -0,0 +1 @@ +*.json