Skip to content

Commit

Permalink
EDIT: update pre-commit packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vdmitriyev committed Oct 11, 2024
1 parent 2d7daf5 commit 8c90452
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -11,7 +11,7 @@ repos:
- id: debug-statements

- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black

Expand All @@ -22,6 +22,6 @@ repos:
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/gitleaks/gitleaks
rev: v8.19.3
rev: v8.20.1
hooks:
- id: gitleaks
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
History
=======

0.3.12 (2024-10-11)
------------------

* pre-commit updates

0.3.11 (2024-07-31)
------------------

Expand Down
20 changes: 15 additions & 5 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ tasks:
- echo "Example usage-> 'task check-virtualenv'"

check-virtualenv:
desc: checks Python virtualenv activation
desc: checks Python's virtualenv activation
aliases: [cv]
silent: true
run: once
cmds:
Expand Down Expand Up @@ -117,8 +118,9 @@ tasks:

git-tag-create:
desc: creates a new git tag (uses version of "{{.PACKAGE_NAME}}")
silent: true
aliases: [gtc]
deps: [check-virtualenv]
silent: true
cmds:
- task: build
- git tag {{.PACKAGE_VERSION}}
Expand All @@ -127,15 +129,18 @@ tasks:

git-tag-re-create:
desc: re-creates a new git tag (uses version of "{{.PACKAGE_NAME}}")
aliases: [gtrc]
deps: [check-virtualenv]
silent: true
cmds:
- git tag -d {{.PACKAGE_VERSION}}
- task: git-tag-create

git-tag-print:
desc: prints all git tags
silent: true
git-tag-show:
desc: shows all git tags
aliases: [gts]
deps: [check-virtualenv]
silent: true
cmds:
- echo "list of git tag"
- git tag
Expand All @@ -144,7 +149,9 @@ tasks:

git-tag-push:
desc: pushes all git tags to remote
aliases: [gtp]
deps: [check-virtualenv]
silent: true
cmds:
- git push --tags origin

Expand Down Expand Up @@ -183,20 +190,23 @@ tasks:

pre-commit-install:
desc: installs git hooks
aliases: [pci]
deps: [check-virtualenv]
silent: true
cmds:
- pre-commit install

pre-commit-run:
desc: runs installed git hooks
aliases: [pcr]
deps: [check-virtualenv]
silent: true
cmds:
- pre-commit run --all-files

pre-commit-update:
desc: updates git hooks
aliases: [pcu]
deps: [check-virtualenv]
silent: true
cmds:
Expand Down
2 changes: 1 addition & 1 deletion pymultissher/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Top-level package for pymultissher."""
"""Top-level package"""

__license__ = "MIT"
__description__ = "pymultissher is a simple CLI tool that runs commands on multiple servers over SSH"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
name = "pymultissher"
description = "pymultissher is a simple CLI tool that runs commands on multiple servers at once using SSH"
readme = "README.md"
version = "0.3.11"
version = "0.3.12"
authors = [
{name = "vdmitriyev"}
]
Expand Down

0 comments on commit 8c90452

Please sign in to comment.