Skip to content

Commit 0eab90b

Browse files
committed
refactor(pyright): reorganize exclude patterns
Move exclude patterns from the base pyright configuration to the extending configuration file for better separation of concerns and maintainability. The patterns remain the same but are now located in the project-level configuration file.
1 parent 36a6b89 commit 0eab90b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

template/.config/linters/pyrightconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
33

4-
"exclude": ["**/node_modules", "**/__pycache__", "**/.*", "marimo/"],
5-
64
"enableTypeIgnoreComments": false,
75

86
"typeCheckingMode": "standard",

template/pyrightconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
3+
"exclude": ["**/node_modules", "**/__pycache__", "**/.*", "marimo"],
34
"extends": ".config/linters/pyrightconfig.json"
45
}

0 commit comments

Comments
 (0)