Skip to content

Commit

Permalink
build: pre-commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Aug 13, 2023
1 parent bea62f0 commit 4e5b24d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
args: [--fix=auto]
- id: trailing-whitespace
- repo: https://github.com/commitizen-tools/commitizen
rev: 3.5.3
rev: 3.6.0
hooks:
- id: commitizen
- repo: https://github.com/executablebooks/mdformat
Expand All @@ -57,7 +57,7 @@ repos:
- id: shellcheck
args: [--severity=warning]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0"
rev: "v3.0.1"
hooks:
- id: prettier
additional_dependencies:
Expand Down Expand Up @@ -90,7 +90,7 @@ repos:
args: [--never]
files: calcipy/.*\.py
- repo: https://github.com/KyleKing/calcipy
rev: 1.4.1
rev: 1.6.0
hooks:
- id: copier-forbidden-files
- id: lint-fix
Expand Down
4 changes: 2 additions & 2 deletions calcipy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ def wrapper(func: Any) -> Callable: # type: ignore[type-arg] # noqa: CFQ004

def _with_kwargs(**extra_kwargs: Any) -> Callable: # type: ignore[type-arg] # nosem
"""Support building partial tasks."""
@wraps(func) # nosem
@wraps(func) # nosem
def _with_kwargs_inner(*args: Any, **kwargs: Any) -> Any:
return func(*args, **kwargs, **extra_kwargs)
return _with_kwargs_inner

func.with_kwargs = _with_kwargs

@wraps(func) # nosem
@wraps(func) # nosem
def _inner(*args: Any, **kwargs: Any) -> Any:
return func(*args, **kwargs)

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/CODE_TAG_SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
|---------|----------------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| TODO | If no stale, write out five oldest? | 2023-05-13 | [calcipy/check_for_stale_packages/_check_for_stale_packages.py:202](https://github.com/KyleKing/calcipy/blame/86c37cc4f24911db5562ef6fc8263102dbbcf5c5/calcipy/check_for_stale_packages/_check_for_stale_packages.py#L198) |
| TODO | Consider adding a configuration item for ignore_patterns | 2023-02-19 | [calcipy/file_search.py:82](https://github.com/KyleKing/calcipy/blame/e6bc0415e3bf6a6df5a9d808ce0e89d0f2c5df9e/calcipy/file_search.py#L82) |
| PLANNED | TaskList, | 2023-08-13 | [calcipy/tasks/all_tasks.py:57](https://github.com/KyleKing/calcipy/blame/55acf5066c7b9ce56e34b443b9d26f3e00f80fd3/calcipy/tasks/all_tasks.py#L57) |
| FIXME | tasks: TaskList = [summary.with_kwargs(message=message)] | 2023-08-13 | [calcipy/tasks/all_tasks.py:69](https://github.com/KyleKing/calcipy/blame/55acf5066c7b9ce56e34b443b9d26f3e00f80fd3/calcipy/tasks/all_tasks.py#L69) |
| PLANNED | TaskList, | 2023-08-13 | [calcipy/tasks/all_tasks.py:57](https://github.com/KyleKing/calcipy/blame/689c23a8cfc113983cd47a90c655efec3474cec8/calcipy/tasks/all_tasks.py#L57) |
| FIXME | tasks: TaskList = [summary.with_kwargs(message=message)] | 2023-08-13 | [calcipy/tasks/all_tasks.py:69](https://github.com/KyleKing/calcipy/blame/689c23a8cfc113983cd47a90c655efec3474cec8/calcipy/tasks/all_tasks.py#L69) |
| TODO | Look into running tasks from within other tasks to support '--continue' and more readable logs --> | 2023-02-19 | [docs/docs/MIGRATION.md:112](https://github.com/KyleKing/calcipy/blame/d95eb85ab7f6d45459ed7b3ff2dc99ae3c92fa61/docs/docs/MIGRATION.md#L42) |
| TODO | Capture logging output and check... | 2023-02-19 | [tests/check_for_stale_packages/test_check_for_stale_packages.py:64](https://github.com/KyleKing/calcipy/blame/a8b69e7b04d9b15eabff8897f2de7703898c2afc/tests/check_for_stale_packages/test_check_for_stale_packages.py#L63) |
| TODO | Capture logging output and check... | 2023-02-19 | [tests/check_for_stale_packages/test_check_for_stale_packages.py:88](https://github.com/KyleKing/calcipy/blame/3f42ad855eb7024ff48af35d496633a87d4a14ac/tests/check_for_stale_packages/test_check_for_stale_packages.py#L26) |
Expand Down

0 comments on commit 4e5b24d

Please sign in to comment.