We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b5e86 commit 7a6bd02Copy full SHA for 7a6bd02
scripts/run_mypy.py
@@ -159,7 +159,11 @@ def check_no_unexpected_results(mypy_lines: Iterator[str]):
159
print("\n".join(sorted(map(str, unexpected_failing))))
160
sys.exit(1)
161
162
- if unexpected_passing:
+ 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:
167
print(f"{len(unexpected_passing)} files unexpectedly passed the type checks:")
168
print("\n".join(sorted(map(str, unexpected_passing))))
169
print("This is good news! Go to scripts/run-mypy.py and add them to the list.")
0 commit comments