pytorch/torch/_dynamo/variables
Aaron Gokaslan 9c3fbe7475 [BE] Enable flake8-simplify checks (#97984)
Enable some sensible flake8-simplify rules. Mainly wanted to enable the SIM101, and `yield from` SIM103 checks. @kit1980 since you wanted to be tagged on this CI check.

Enabling this check also helped flag one logical bug so it's definitely beneficial (also fixed in this PR).

Pull Request resolved: https://github.com/pytorch/pytorch/pull/97984
Approved by: https://github.com/ezyang
2023-03-31 03:40:21 +00:00
..
__init__.py Rename DynamicShapeVariable to SymNodeVariable cause thats what it is (#94152) 2023-02-08 10:41:10 +00:00
base.py [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
builder.py Run the benchmark suite with dynamic batch only (#97912) 2023-03-30 18:04:48 +00:00
builtin.py [Dynamo] Fix for tuple construction from tuple iterators (#97862) 2023-03-29 19:20:05 +00:00
constant.py [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
dicts.py [dynamo] Fix OrderedDict reconstruction bytecode (#95800) 2023-03-01 23:39:09 +00:00
functions.py [BE] Enable flake8-simplify checks (#97984) 2023-03-31 03:40:21 +00:00
lists.py [Dynamo] Fix for tuple construction from tuple iterators (#97862) 2023-03-29 19:20:05 +00:00
misc.py [BE] Enable flake8-simplify checks (#97984) 2023-03-31 03:40:21 +00:00
nn_module.py Make dynamo-FSDP skip guards (#97463) 2023-03-28 04:04:34 +00:00
tensor.py Dynamo size dim kwargs (#97450) 2023-03-27 15:36:46 +00:00
torch.py [Dynamo] torch.Generator state should have a source and be reconstructed properly (#97403) 2023-03-29 04:31:23 +00:00
user_defined.py [Dynamo] Remove torch.autograd.profiler.profile workaround in UserDefined (#95504) 2023-02-25 05:15:01 +00:00