Skip to content

Commit 67950c9

Browse files
author
Sindhujach217
committed
Exclude trl and factualdpo_trainer from code checks
1 parent c4525ac commit 67950c9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/code_checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
- uv.lock
2525
- pyproject.toml
2626
- '**.ipynb'
27+
paths-ignore:
28+
- "trl/**"
29+
- "**/factualdpo_trainer.py"
2730

2831
jobs:
2932
run-code-check:

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ mypy_path = "src"
120120
# -----------------------------------------------------
121121
[tool.ruff]
122122
include = ["*.py", "pyproject.toml", "*.ipynb"]
123-
exclude = []
123+
exclude = [
124+
"trl",
125+
"**/factualdpo_trainer.py",
126+
]
124127
line-length = 88
125128

126129
[tool.ruff.format]

0 commit comments

Comments
 (0)