Browse Source

lint tests

Fabian Peter Hammerle 4 years ago
parent
commit
edbb8bea9a
2 changed files with 1 additions and 2 deletions
  1. 1 1
      .githooks/pre-commit
  2. 0 1
      tests/cli/_list_test.py

+ 1 - 1
.githooks/pre-commit

@@ -5,5 +5,5 @@ set -ex
 pipenv clean
 pipenv sync --dev
 pipenv run black --check
-pipenv run pylint yamily
+pipenv run pylint yamily tests/*
 pipenv run pytest --cov=yamily --cov-report=term-missing --cov-fail-under=100

+ 0 - 1
tests/cli/_list_test.py

@@ -1,4 +1,3 @@
-import pathlib
 from unittest.mock import patch
 
 import pytest