Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ repos:
args: ['--maxkb=1000']
- id: check-merge-conflict
- id: check-toml

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
additional_dependencies: ["types-tqdm"]
1 change: 0 additions & 1 deletion test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def test_package_caches(self):
assert identify_special_dir_name(".deno") == "Package Caches"
assert identify_special_dir_name(".pnpm") == "Package Caches"
assert identify_special_dir_name(".uv") == "Package Caches"
assert identify_special_dir_name("Homebrew") == "Package Caches"

def test_ide_config(self):
assert identify_special_dir_name(".idea") == "IDE Config"
Expand Down
1 change: 0 additions & 1 deletion zpace/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@
".bundle",
".bun",
".deno",
"homebrew",
},
"IDE Config": {".idea", ".vscode", ".vs", ".eclipse", ".fleet"},
"Git Repos": {".git"},
Expand Down
4 changes: 2 additions & 2 deletions zpace/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
import heapq
import os
from collections import defaultdict
from pathlib import Path
from typing import Dict, List, Optional, Tuple
Expand All @@ -8,12 +8,12 @@

from zpace.config import (
DEEPEST_SKIP_LEVEL,
DEFAULT_TOP_N,
EXTENSION_MAP,
MIN_FILE_SIZE,
PROGRESS_UPDATE_THRESHOLD,
SKIP_DIRS,
SPECIAL_DIR_MAP,
DEFAULT_TOP_N,
)


Expand Down
Loading