pytorch/torch/testing
Aaron Gokaslan 88ab3e4322 [BE]: Update ruff to 0.285 (#107519)
This updates ruff to 0.285 which is faster, better, and have fixes a bunch of false negatives with regards to fstrings.

I also enabled RUF017 which looks for accidental quadratic list summation. Luckily, seems like there are no instances of it in our codebase, so enabling it so that it stays like that. :)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/107519
Approved by: https://github.com/ezyang
2023-08-20 01:36:18 +00:00
..
_internal [BE]: Update ruff to 0.285 (#107519) 2023-08-20 01:36:18 +00:00
__init__.py document torch.testing.assert_allclose (#89526) 2022-12-01 11:22:50 +00:00
_comparison.py Fix reference cycle in our test suite (#106328) 2023-08-02 07:58:32 +00:00
_creation.py disallow invalid value ranges in torch.testing.make_tensor (#96334) 2023-03-24 23:55:17 +00:00