From 1adfee4e24b9871d59a117a5d7ff8e07c12b9084 Mon Sep 17 00:00:00 2001 From: Devon Stewart Date: Thu, 10 Oct 2024 22:56:09 +0000 Subject: [PATCH 1/2] Also exclude dot directories --- .../pyright-internal/src/common/chokidarFileWatcherProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pyright-internal/src/common/chokidarFileWatcherProvider.ts b/packages/pyright-internal/src/common/chokidarFileWatcherProvider.ts index 4bede8c2f..1cf1c2b18 100644 --- a/packages/pyright-internal/src/common/chokidarFileWatcherProvider.ts +++ b/packages/pyright-internal/src/common/chokidarFileWatcherProvider.ts @@ -44,7 +44,7 @@ export class ChokidarFileWatcherProvider implements FileWatcherProvider { watcherOptions.usePolling = false; } - const excludes: string[] = ['**/node_modules/**', '**/__pycache__/**', '**/.*']; + const excludes: string[] = ['**/node_modules/**', '**/__pycache__/**', '**/.*', '**/.*/**']; if (_isMacintosh || _isLinux) { if (paths.some((path) => path === '' || path === '/')) { excludes.push('/dev/**'); From aa51f9fbc65b3533c5bcb0a951eb17d4bce703e0 Mon Sep 17 00:00:00 2001 From: Devon Stewart Date: Thu, 10 Oct 2024 22:57:52 +0000 Subject: [PATCH 2/2] Bumping version --- packages/pyright-internal/package-lock.json | 4 ++-- packages/pyright-internal/package.json | 2 +- packages/pyright/package-lock.json | 4 ++-- packages/pyright/package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/pyright-internal/package-lock.json b/packages/pyright-internal/package-lock.json index dbf749bd8..f6100ff74 100644 --- a/packages/pyright-internal/package-lock.json +++ b/packages/pyright-internal/package-lock.json @@ -1,12 +1,12 @@ { "name": "pyright-internal", - "version": "2.0.11", + "version": "2.0.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pyright-internal", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "dependencies": { "@iarna/toml": "2.2.5", diff --git a/packages/pyright-internal/package.json b/packages/pyright-internal/package.json index 6fceedc93..07290b70d 100644 --- a/packages/pyright-internal/package.json +++ b/packages/pyright-internal/package.json @@ -2,7 +2,7 @@ "name": "pyright-internal", "displayName": "pyright", "description": "Type checker for the Python language", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "private": true, "files": [ diff --git a/packages/pyright/package-lock.json b/packages/pyright/package-lock.json index bf2b818fe..7780864d2 100644 --- a/packages/pyright/package-lock.json +++ b/packages/pyright/package-lock.json @@ -1,12 +1,12 @@ { "name": "@replit/pyright-extended", - "version": "2.0.11", + "version": "2.0.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@replit/pyright-extended", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "bin": { "pyright": "index.js", diff --git a/packages/pyright/package.json b/packages/pyright/package.json index 771f05716..8b236cbd0 100644 --- a/packages/pyright/package.json +++ b/packages/pyright/package.json @@ -2,7 +2,7 @@ "name": "@replit/pyright-extended", "displayName": "pyright-extended", "description": "Extending pyright with yapf + ruff", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "author": { "name": "Replit"