mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Adds some basic flake8-pytest-style rules from ruff with their autofixes. I just picked a couple uncontroversial changes about having a consistent pytest style that were already following. We should consider enabling some more in the future, but this is a good start. I also upgraded ruff to the latest version. Pull Request resolved: https://github.com/pytorch/pytorch/pull/110362 Approved by: https://github.com/ezyang, https://github.com/albanD, https://github.com/kit1980 |
||
|---|---|---|
| .. | ||
| numpy_tests | ||
| __init__.py | ||
| check_tests_conform.py | ||
| conftest.py | ||
| test_basic.py | ||
| test_binary_ufuncs.py | ||
| test_dtype.py | ||
| test_function_base.py | ||
| test_ndarray_methods.py | ||
| test_nep50_examples.py | ||
| test_random.py | ||
| test_reductions.py | ||
| test_scalars_0D_arrays.py | ||
| test_ufuncs_basic.py | ||
| test_unary_ufuncs.py | ||