mirror of
https://github.com/ROCm/jax.git
synced 2025-04-17 20:36:05 +00:00

* trailing-whitespace * dangerous-default-value. None of these appear to be bugs in practice, but the potential for accidentally mutating the default value is there, and the cost of avoiding the problem is small. * invalid-envvar-default. Pass strings as getenv() defaults. * unnecessary-semicolon. Use tuples instead for this one-liner. * invalid-hash-returned. Raise an exception rather than asserting false. * pointless-string-statement. Use comments instead. * unreachable. Use @unittest.skip() decorator rather than raising as first line in test. * logging-not-lazy. Make the logging lazy. * bad-format-string-type. Use f-string instead. * subprocess-run-check. Pass check=... PiperOrigin-RevId: 400858477