Skip to content

Commit

Permalink
Prettier ignore npm and poetry lock files (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Oct 29, 2024
1 parent 6f1bdec commit c556ec2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ runs:
npm install --global prettier
# npx prettier --write "**/*.{js,jsx,ts,tsx,css,less,scss,json,md,mdx,yml,yaml,html,vue,svelte}"
npx prettier --write "**/*.{css,json,yml,yaml}"
npx prettier --write "**/*.{css,json,yml,yaml}" '!**/*lock.{json,yaml,yml}' '!**/*.lock'
find . -name "*.md" ! -path "*/docs/*" -exec npx prettier --write {} +
find ./docs -name "*.md" ! -path "*/reference/*" -exec npx prettier --tab-width 4 --write {} + || true # error if no /docs dir
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# ├── test_summarize_pr.py
# └── ...

__version__ = "0.0.16"
__version__ = "0.0.17"
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
Expand Down

0 comments on commit c556ec2

Please sign in to comment.