From 0fc15cf31c231443fa77d0edf0a34375cd145a5a Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Sun, 19 Nov 2023 04:49:08 +0800 Subject: [PATCH] refactor: tidy codes Signed-off-by: Jack Cherng --- plugin/listener.py | 5 +++-- scripts/run_local_tests.sh | 12 ------------ 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 scripts/run_local_tests.sh diff --git a/plugin/listener.py b/plugin/listener.py index 368f3af..49d9e9f 100644 --- a/plugin/listener.py +++ b/plugin/listener.py @@ -1,9 +1,10 @@ -from .libs.pylnk import pylnk3 -from typing import Optional, Set import os +from typing import Optional, Set + import sublime import sublime_plugin +from .libs.pylnk import pylnk3 PACKAGE_NAME = __package__.partition(".")[0] diff --git a/scripts/run_local_tests.sh b/scripts/run_local_tests.sh deleted file mode 100644 index b164b2c..0000000 --- a/scripts/run_local_tests.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -PROJECT_DIR="${SCRIPT_DIR}/.." - -pushd "${PROJECT_DIR}" || exit - -mypy -p plugin -flake8 . -black --check . - -popd || exit