From d1f0ca82bbe3a5361dd587589f2ea78e35a121f9 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 7 Aug 2024 12:11:26 +0200 Subject: [PATCH] remove watchfiles from ignore directory list (#249) Co-authored-by: Samuel Colvin --- tests/test_filters.py | 2 +- watchfiles/filters.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_filters.py b/tests/test_filters.py index 98427b82..f450cfdf 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -92,7 +92,7 @@ def test_customising_filters(): assert f._ignore_paths == ('/a/b',) # unchanged - assert DefaultFilter.ignore_dirs == IsTuple('__pycache__', length=12) + assert DefaultFilter.ignore_dirs == IsTuple('__pycache__', length=11) def test_repr(): diff --git a/watchfiles/filters.py b/watchfiles/filters.py index 3ebe6c5c..d97dfe87 100644 --- a/watchfiles/filters.py +++ b/watchfiles/filters.py @@ -79,7 +79,6 @@ class DefaultFilter(BaseFilter): '.svn', '.tox', '.venv', - 'site-packages', '.idea', 'node_modules', '.mypy_cache',