Replies: 5 comments 12 replies
-
Can you share the file or a minimal reproducible example? |
Beta Was this translation helpful? Give feedback.
-
No I can't. But I accept suggestion about reducing code to "minimal reproducible example". For example, can I activate a log in Ruff to see where it stops? (I'm a new Ruff user, started to use it just yesterday). I can add that pylint works well with the same python file (PLE == pylint). |
Beta Was this translation helpful? Give feedback.
-
Well, this is a minimal example: paste this f-string as is in an empty file and ruff will not return. The configuration is:
f"""
"""
|
Beta Was this translation helpful? Give feedback.
-
A note: also spaces and empty lines are important. Do not change them . |
Beta Was this translation helpful? Give feedback.
-
Same result with this configuration:
|
Beta Was this translation helpful? Give feedback.
-
I have a long python file (1800 lines) which send Ruff in infinite loop.
After a trial error session, i reduced the problem to 2 configuration options: PLE and UP. If I exclude them in .toml Ruff works well with that python file.
Some suggestion?
Beta Was this translation helpful? Give feedback.
All reactions