Skip to content

Commit 5c790e9

Browse files
authored
Merge pull request #50 from AzisK/Remove-homebrew-from-specials-dirs-since-it-is-too-general
Remove homebrew from specials dirs since it is too general
2 parents 743f804 + d47899c commit 5c790e9

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ repos:
1818
args: ['--maxkb=1000']
1919
- id: check-merge-conflict
2020
- id: check-toml
21+
22+
- repo: https://github.com/pre-commit/mirrors-mypy
23+
rev: v1.19.1
24+
hooks:
25+
- id: mypy
26+
additional_dependencies: ["types-tqdm"]

test_unit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def test_package_caches(self):
109109
assert identify_special_dir_name(".deno") == "Package Caches"
110110
assert identify_special_dir_name(".pnpm") == "Package Caches"
111111
assert identify_special_dir_name(".uv") == "Package Caches"
112-
assert identify_special_dir_name("Homebrew") == "Package Caches"
113112

114113
def test_ide_config(self):
115114
assert identify_special_dir_name(".idea") == "IDE Config"

zpace/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@
190190
".bundle",
191191
".bun",
192192
".deno",
193-
"homebrew",
194193
},
195194
"IDE Config": {".idea", ".vscode", ".vs", ".eclipse", ".fleet"},
196195
"Git Repos": {".git"},

zpace/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import os
21
import heapq
2+
import os
33
from collections import defaultdict
44
from pathlib import Path
55
from typing import Dict, List, Optional, Tuple
@@ -8,12 +8,12 @@
88

99
from zpace.config import (
1010
DEEPEST_SKIP_LEVEL,
11+
DEFAULT_TOP_N,
1112
EXTENSION_MAP,
1213
MIN_FILE_SIZE,
1314
PROGRESS_UPDATE_THRESHOLD,
1415
SKIP_DIRS,
1516
SPECIAL_DIR_MAP,
16-
DEFAULT_TOP_N,
1717
)
1818

1919

0 commit comments

Comments
 (0)