Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#234)
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: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] and hugovk committed Apr 4, 2023
1 parent db4a1e3 commit ac0e361
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions .pre-commit-config.yaml
Expand Up @@ -6,10 +6,9 @@ repos:
args: [--py37-plus]

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
args: [--target-version=py37]

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
Expand All @@ -27,38 +26,41 @@ repos:
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa
- id: python-no-log-warn

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 0.9.2
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.12.1
rev: v0.12.2
hooks:
- id: validate-pyproject

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 0.6.1
rev: 1.0.0
hooks:
- id: tox-ini-fmt

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.5
rev: v3.0.0-alpha.6
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
exclude: ^.github/ISSUE_TEMPLATE/bug_report.md$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.0.1"
rev: "v1.1.1"
hooks:
- id: mypy
additional_dependencies: [types-colorama, types-setuptools]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Expand Up @@ -5,10 +5,10 @@ envlist =
isolated_build = true

[testenv]
passenv =
FORCE_COLOR
extras =
tests
passenv =
FORCE_COLOR
commands =
{envpython} -m pytest \
--cov prettytable \
Expand All @@ -17,10 +17,10 @@ commands =
coverage report

[testenv:lint]
passenv =
PRE_COMMIT_COLOR
skip_install = true
deps =
pre-commit
passenv =
PRE_COMMIT_COLOR
commands =
pre-commit run --all-files --show-diff-on-failure

0 comments on commit ac0e361

Please sign in to comment.