From 32309090b9b8b4443f74841f8b25f2bc2879ea4d Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Thu, 26 Nov 2020 01:54:37 -0500 Subject: [PATCH] Fix pre-commit conflicting on test imports --- .pre-commit-config.yaml | 3 +++ tests/test_metadata.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7dc6828..3c7acb3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,4 +25,7 @@ repos: rev: master hooks: - id: reorder-python-imports + args: + - --application-directories=keyosk language: system + exclude: "tests/" diff --git a/tests/test_metadata.py b/tests/test_metadata.py index b98c93e..f7612f6 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -6,7 +6,6 @@ sources of truth agree with each other. from pathlib import Path import toml - from keyosk import __about__