Skip to content

Commit

Permalink
test: Do not provide language version for pre-commit hooks
Browse files Browse the repository at this point in the history
Fixes: #12
  • Loading branch information
playpauseandstop committed Jul 6, 2020
1 parent bcdc791 commit b02a00f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ jobs:
uses: "pre-commit/action@v1.0.1"

- name: "Run tests"
if: "matrix.python-version == env.DEV_PYTHON_VERSION"
run: "poetry run python -m pytest --cov --no-cov-on-fail"

- name: "Send report to coveralls"
Expand Down
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,20 @@ repos:
rev: "v1.22.2"
hooks:
- id: "commitizen"
language_version: "python3.8"
stages: ["commit-msg"]

- repo: "https://github.com/psf/black"
rev: "19.10b0"
hooks:
- id: "black"
name: "Format code (black)"
language_version: "python3.8"
exclude: ^docs/.*$

- repo: "https://github.com/asottile/blacken-docs"
rev: "v1.7.0"
hooks:
- id: "blacken-docs"
name: "Format docs (blacken-docs)"
language_version: "python3.8"
args: ["-l", "64"]
additional_dependencies:
- "black==19.10b0"
Expand All @@ -39,7 +36,6 @@ repos:
hooks:
- id: "flake8"
name: "Lint code (flake8)"
language_version: "python3.8"
additional_dependencies: &flake8_additional_dependencies
- "flake8==3.8.2"
- "flake8-broken-line==0.2.0"
Expand All @@ -62,7 +58,6 @@ repos:
hooks:
- id: yesqa
name: "Lint code (yesqa)"
language_version: "python3.8"
additional_dependencies: *flake8_additional_dependencies
exclude: ^docs/.*$

Expand All @@ -71,7 +66,6 @@ repos:
hooks:
- id: "mypy"
name: "Lint code (mypy)"
language_version: "python3.8"
args: [
"--python-executable=.venv/bin/python"
]
Expand Down

0 comments on commit b02a00f

Please sign in to comment.