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]):
159159 print ("\n " .join (sorted (map (str , unexpected_failing ))))
160160 sys .exit (1 )
161161
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 :
163167 print (f"{ len (unexpected_passing )} files unexpectedly passed the type checks:" )
164168 print ("\n " .join (sorted (map (str , unexpected_passing ))))
165169 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