Skip to content

Commit

Permalink
💚 Upgrade pre-commit
Browse files Browse the repository at this point in the history
Fix the wrong github action example in the document
  • Loading branch information
Freed-Wu committed Dec 14, 2022
1 parent d529532 commit ca1fc30
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: fix-byte-order-marker
Expand Down Expand Up @@ -31,13 +31,13 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/jorisroovers/gitlint
rev: v0.17.0
rev: v0.18.0
hooks:
- id: gitlint
args:
- --msg-filename
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.6.1
rev: 2.6.2
hooks:
- id: editorconfig-checker
- repo: https://github.com/jumanjihouse/pre-commit-hooks
Expand Down Expand Up @@ -75,11 +75,11 @@ repos:
additional_dependencies:
- markdown-it-texmath@0.9.1
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.11.0
hooks:
- id: isort
- repo: https://github.com/pycqa/pydocstyle
Expand All @@ -89,7 +89,7 @@ repos:
additional_dependencies:
- toml
- repo: https://github.com/kumaraditya303/mirrors-pyright
rev: v1.1.278
rev: v1.1.283
hooks:
- id: pyright
- repo: https://github.com/PyCQA/bandit
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -79,7 +79,6 @@ Example projects:

- [demo for click](https://github.com/Freed-Wu/setuptools-generate/tree/main/tests/click/src)
- [demo for shtab](https://github.com/Freed-Wu/setuptools-generate/tree/main/tests/shtab/src)
- [help2man](https://github.com/Freed-Wu/help2man)
- [translate-shell](https://github.com/Freed-Wu/translate-shell)

See [document](https://setuptools-generate.readthedocs.io) to know more.
8 changes: 4 additions & 4 deletions docs/resources/intention.md
Expand Up @@ -111,13 +111,13 @@ jobs:
- uses: actions/upload-artifact@v3
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
with:
path: dist
path: build/resources
path: dist/*
path: build/resources/*
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist
path: build/resources
files: dist/*
path: build/resources/*
- uses: pypa/gh-action-pypi-publish@release/v1
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
with:
Expand Down

0 comments on commit ca1fc30

Please sign in to comment.