File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,11 @@ def check_no_unexpected_results(mypy_lines: Iterator[str]):
159
159
print ("\n " .join (sorted (map (str , unexpected_failing ))))
160
160
sys .exit (1 )
161
161
162
- if unexpected_passing :
162
+ if unexpected_passing == {"pymc/sampling_jax.py" }:
163
+ print ("Letting you know that 'pymc/sampling_jax.py' unexpectedly passed." )
164
+ print ("But this file is known to sometimes pass and sometimes not." )
165
+ print ("Unless tried to resolve problems in sampling_jax.py just ignore this message." )
166
+ elif unexpected_passing :
163
167
print (f"{ len (unexpected_passing )} files unexpectedly passed the type checks:" )
164
168
print ("\n " .join (sorted (map (str , unexpected_passing ))))
165
169
print ("This is good news! Go to scripts/run-mypy.py and add them to the list." )
You can’t perform that action at this time.
0 commit comments