File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,14 @@ repos:
23
23
args :
24
24
- --license-filepath
25
25
- LICENSE.md
26
-
26
+ - repo : local
27
+ hooks :
28
+ - id : pyright
29
+ name : pyright
30
+ entry : poetry run pyright
31
+ language : system
32
+ types : [python]
33
+ pass_filenames : false
27
34
# Deactivating this for now.
28
35
# - repo: https://github.com/pycqa/pylint
29
36
# rev: v2.17.0
Original file line number Diff line number Diff line change @@ -151,7 +151,11 @@ pytest-profiling = "^1.7.0"
151
151
yara-python = " ^4.5.1"
152
152
opentelemetry-api = " ^1.34.1"
153
153
opentelemetry-sdk = " ^1.34.1"
154
+ pyright = " ^1.1.405"
154
155
156
+ # Directories in which to run Pyright type-checking
157
+ [tool .pyright ]
158
+ include = [" nemoguardrails/rails/**" ]
155
159
156
160
[tool .poetry .group .docs ]
157
161
optional = true
You can’t perform that action at this time.
0 commit comments