Skip to content

Commit

Permalink
Bump yapf-isort pre-commit hook version.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 22, 2020
1 parent ddd7bbd commit b868809
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ repos:
- id: forbid-crlf

- repo: https://github.com/domdfcoding/yapf-isort
rev: v0.5.2
rev: v0.5.4
hooks:
- id: yapf-isort
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup|repo_helper/templates/.*)\.(_)?py$

- repo: https://github.com/domdfcoding/dep_checker
rev: v0.3.1
rev: v0.4.1
hooks:
- id: dep_checker
args:
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/files/pre_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def make_pre_commit(repo_path: pathlib.Path, templates: jinja2.Environment) -> L

yapf_isort = Repo(
repo=make_github_url("domdfcoding", "yapf-isort"),
rev="v0.5.2",
rev="v0.5.4",
hooks=[{"id": "yapf-isort", "exclude": yapf_isort_excludes}],
)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_files/test_testing_/test_make_pre_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ repos:
- id: forbid-crlf

- repo: https://github.com/domdfcoding/yapf-isort
rev: v0.5.2
rev: v0.5.4
hooks:
- id: yapf-isort
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
Expand Down
9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# You may add new sections, but any changes made to the following sections will be lost:
# * tox
# * envlists
# * travis
# * gh-actions
# * testenv
# * testenv:docs
Expand All @@ -27,14 +26,6 @@ test = py36, py37, py38, py39, pypy3
qa = mypy, lint
cov = py36, coverage

[travis]
python =
3.6: py36, build
3.7: py37, build, mypy
3.8: py38, build
3.9: py39, build
pypy3: pypy3, build

[gh-actions]
python =
3.6: py36, build
Expand Down

0 comments on commit b868809

Please sign in to comment.