From e29b62d359c67961ae6bb73c623920fd7830daba Mon Sep 17 00:00:00 2001 From: Kerby Keith Aquino Date: Thu, 3 Aug 2023 22:58:40 +0800 Subject: [PATCH] rm husky --- .husky/pre-commit | 12 ------------ package.json | 4 +--- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index be07561..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx lint-staged - -if ! command -v autopep8 >nul 2>&1; then - pip install autopep8 -fi - -autopep8 --in-place --recursive --verbose --exclude "venv,__pycache__,.mypy_cache" python - -rm -f nul \ No newline at end of file diff --git a/package.json b/package.json index 57cb471..b373849 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,7 @@ "packages/**": "yarn prettier:write" }, "scripts": { - "cleanup": "node scripts/clean.mjs && yarn", "postinstall": "cd apps/website && nuxt prepare", - "prepare": "husky install", "dev": "turbo dev --filter=website", "build": "turbo build --filter=website", "prettier:check": "prettier --check .", @@ -31,4 +29,4 @@ "node": ">18.0.0", "npm": ">= 8.0.0" } -} +} \ No newline at end of file