chore(linter): add TRF018 modeling rule
Author: tarekziade
Pull request: yes

<!-- ci-dashboard-badge:start -->
[![CI](https://transformers-ci.lor-e.huggingface.cool/badge/pr?pr=46259)](https://transformers-ci.lor-e.huggingface.cool/d/pytest-observability-by-pr/pytest-observability-branch?var-pr=46259)
<!-- ci-dashboard-badge:end -->

# What does this PR do?

Adds support for mlinter TRF018

Comments:
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_46259). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

run-slow: albert, align, altclip, autoformer, bit, blt, bridgetower, chinese_clip, clap, clip, clipseg, clvp, colmodernvbert, colpali, colqwen2, conditional_detr

[Workflow Run ⚙️](https://github.com/huggingface/transformers/actions/runs/26573994982)

This comment contains `run-slow`, running the specified jobs: 

models: ["models/albert", "models/align", "models/altclip", "models/autoformer", "models/bit", "models/blt", "models/bridgetower", "models/chinese_clip", "models/clap", "models/clip", "models/clipseg", "models/clvp", "models/colmodernvbert", "models/colpali", "models/colqwen2", "models/conditional_detr"]
quantizations: []

## CI Results
[Workflow Run ⚙️](https://github.com/huggingface/transformers/actions/runs/26573994982)

### Commit Info
| Context | Commit | Description |
|---------|--------|-------------|
| RUN | [cd245dfb](https://github.com/huggingface/transformers/commit/cd245dfb8b11ec1c20fa84d2ec58f4f638a0cd92) | workflow commit (merge commit) |
| PR | [ddd8a06a](https://github.com/huggingface/transformers/commit/ddd8a06acf9245d7a77dbff8855932e097a9911e) | branch commit (from PR) |
| main | [bc8f70a9](https://github.com/huggingface/transformers/commit/bc8f70a9f107f158b1e710a42ce7bbb9ff6e8b53) | base commit (on `main`) |

✅ No failing test specific to this PR 🎉 👏 !


run-slow: albert, align, altclip, autoformer, bit, blt, bridgetower, chinese_clip, clap, clip, clipseg, clvp, colmodernvbert, colpali, colqwen2, conditional_detr

[Workflow Run ⚙️](https://github.com/huggingface/transformers/actions/runs/26826441856)

This comment contains `run-slow`, running the specified jobs: 

models: ["models/albert", "models/align", "models/altclip", "models/autoformer", "models/bit", "models/blt", "models/bridgetower", "models/chinese_clip", "models/clap", "models/clip", "models/clipseg", "models/clvp", "models/colmodernvbert", "models/colpali", "models/colqwen2", "models/conditional_detr"]
quantizations: []

## CI Results
[Workflow Run ⚙️](https://github.com/huggingface/transformers/actions/runs/26826441856)

### Commit Info
| Context | Commit | Description |
|---------|--------|-------------|
| RUN | [78ce66ac](https://github.com/huggingface/transformers/commit/78ce66acc162671340cd57bf99d441eee25cf646) | workflow commit (merge commit) |
| PR | [472b2e39](https://github.com/huggingface/transformers/commit/472b2e3924903a5ea79e98bf80ed385e952138d3) | branch commit (from PR) |
| main | [908f67e8](https://github.com/huggingface/transformers/commit/908f67e864fade680ac0114dccbec147b141d381) | base commit (on `main`) |

✅ No failing test specific to this PR 🎉 👏 !


View the CircleCI Test Summary for this PR:

https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=46259&sha=c15732

run-slow: albert, align, altclip, autoformer, bit, blt, bridgetower, chinese_clip, clap, clip, clipseg, clvp, colmodernvbert, colpali, colqwen2, conditional_detr

[Workflow Run ⚙️](https://github.com/huggingface/transformers/actions/runs/27774258650)

This comment contains `run-slow`, running the specified jobs: 

models: ["models/albert", "models/align", "models/altclip", "models/autoformer", "models/bit", "models/blt", "models/bridgetower", "models/chinese_clip", "models/clap", "models/clip", "models/clipseg", "models/clvp", "models/colmodernvbert", "models/colpali", "models/colqwen2", "models/conditional_detr"]
quantizations: []

## CI Results
[Workflow Run ⚙️](https://github.com/huggingface/transformers/actions/runs/27774258650)

### Commit Info
| Context | Commit | Description |
|---------|--------|-------------|
| RUN | [255243e7](https://github.com/huggingface/transformers/commit/255243e74c9b298a62bbc1774d837dd1b38b9ccd) | workflow commit (merge commit) |
| PR | [4a0a88b7](https://github.com/huggingface/transformers/commit/4a0a88b75c2b6322d59eac9b6c244f1fc4456536) | branch commit (from PR) |
| main | [13a30429](https://github.com/huggingface/transformers/commit/13a30429735d0f0b91e01b3d5b96d84c88197419) | base commit (on `main`) |

✅ No failing test specific to this PR 🎉 👏 !


**[For maintainers]** Suggested jobs to run (before merge)

run-slow: albert, align, altclip, autoformer, bit, blt, bridgetower, chinese_clip, clap, clip, clipseg, clvp, colmodernvbert, colpali, colqwen2, conditional_detr

<!-- ci-dashboard-recap:start -->

---

### CI recap

**Dashboard:** [View test results in Grafana](https://transformers-ci.lor-e.huggingface.cool/d/pytest-observability-by-pr/pytest-observability-branch?var-pr=46259)
**Latest run:** [28650409294:1](https://github.com/huggingface/transformers/actions/runs/28650409294)
**Result:** `success` | **Jobs:** 14 | **Tests:** 47,277 | **Failures:** 0 | **Duration:** 17h 6m

<!-- ci-dashboard-recap:end -->