SIGN IN SIGN UP

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

158577 0 0 Python

chore(typing): added rule 11 (#44865)

* added rule 11

* fix all offenders for trt011

* the rule was only matching for loops, it now derives its target set from base_model_pp_plan

* unify loop

* single ast pass

---------

Co-authored-by: Harry Mellor <[email protected]>
T
Tarek Ziade committed
29db503cdef2f00d1f0ecd5841c3a486708ed1dd
Parent: b1527a3
Committed by GitHub <[email protected]> on 3/23/2026, 12:19:45 PM