Skip to content

Commit 795be6a

Browse files
committed
fixup! chore: configure linting for the project
1 parent bd8d473 commit 795be6a

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
"specs",
5151
"base/build"
5252
],
53+
"python.analysis.include": [
54+
".github"
55+
],
5356
"ruff.configuration": "${workspaceFolder}/ruff.toml",
5457
"ruff.lint.enable": true
5558
}

pyrightconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"specs",
77
"**/.*"
88
],
9+
"include": [
10+
".github"
11+
],
912
"typeCheckingMode": "standard",
1013
"reportUntypedFunctionDecorator": "error",
1114
"reportMissingTypeStubs": "warning",

ruff.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
exclude = ["base/build", "specs"]
22

3+
line-length = 120
4+
35
target-version = "py312"
46

57
[lint]

0 commit comments

Comments
 (0)