Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Serkan Hosca <serkan@hosca.com>
  • Loading branch information
pre-commit-ci[bot] and shosca committed Apr 13, 2022
1 parent 2ddf68c commit 1230c3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ repos:
language_version: python3

- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
additional_dependencies: ["click==8.0.4"]
language_version: python3

- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v2.32.0
hooks:
- id: pyupgrade
args: [--py3-plus]
Expand All @@ -36,12 +36,12 @@ repos:
- flake8-debugger

- repo: https://github.com/mgedmin/check-manifest
rev: '0.47'
rev: '0.48'
hooks:
- id: check-manifest

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.2.0
hooks:
- id: check-added-large-files
- id: check-builtin-literals
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ clean-test: ## remove test and coverage artifacts
resetdb: $(RESETDBS)

lint: ## run pre-commit hooks on all files
pre-commit run --all-files
-if python -c "import sys; exit(1) if (sys.version_info.major, sys.version_info.minor) < (3, 7) else exit(0)"; then \
pre-commit run --all-files ; \
fi

coverage: ## check code coverage quickly with the default Python
py.test $(PYTEST_OPTS) \
Expand Down

0 comments on commit 1230c3d

Please sign in to comment.