-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Closed
Labels
Description
When running make fixup
-
Checking/fixing files: src/transformers/integrations/executorch.py tests/models/cohere2/test_modeling_cohere2.py tests/models/exaone4/test_modeling_exaone4.py tests/models/gemma/test_modeling_gemma.py tests/models/gemma2/test_modeling_gemma2.py tests/models/gemma3/test_modeling_gemma3.py tests/models/llama/test_modeling_llama.py tests/models/olmo/test_modeling_olmo.py tests/models/olmo2/test_modeling_olmo2.py tests/models/phi3/test_modeling_phi3.py tests/models/qwen2/test_modeling_qwen2.py tests/models/qwen3/test_modeling_qwen3.py tests/models/smollm3/test_modeling_smollm3.py tests/utils/test_cache_utils.py
ruff failed
Cause: Failed to parse /home/jackzhxng/tr2/transformers/pyproject.toml
Cause: TOML parse error at line 20, column 1
|
20 | [tool.ruff.lint]
| ^^^^^^^^^^^^^^^^
Unknown rule selector: `PLC1802`
ruff failed
Cause: Failed to parse /home/jackzhxng/tr2/transformers/pyproject.toml
Cause: TOML parse error at line 20, column 1
|
20 | [tool.ruff.lint]
| ^^^^^^^^^^^^^^^^
Unknown rule selector: `PLC1802`
make: *** [Makefile:11: modified_only_fixup] Error 2
It works if I remove PLC1802
from pyproject.toml
System Info
- `transformers` version: 4.55.0.dev0
- Platform: Linux-6.9.0-0_fbk3_1265_g43ac291a024d-x86_64-with-glibc2.34
- Python version: 3.10.0
- Huggingface_hub version: 0.34.3
- Safetensors version: 0.5.3
- Accelerate version: 1.9.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (accelerator?): 2.9.0.dev20250716+cpu (NA)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: no
Who can help?
Information
- The official example scripts
- My own modified scripts
Tasks
- An officially supported task in the
examples
folder (such as GLUE/SQuAD, ...) - My own task or dataset (give details below)
Reproduction
Run make fixup
Expected behavior
No errors