That’s interesting.
After some digging I found a “ruff.toml” in an unusual place for a unix’y command line tool (~/Library/Application Support/ruff/ruff.toml
)
select = ["ALL"]
ignore = []
fixable = []
unfixable = []
I don’t know what put it there, certainly not my doing as far as I can remember. But that explains some things, I guess. 😱
“Clean code” is always about preference. I like code I can read and understand. If I want extra comments or keep some commented code to make a thought process about a coding decision more clear then that’s not a bad thing, IMHO.
And if
print()
is such a bad thing, why wasn’t it deprecated for Python 3? Again this probably just comes down to preference again. I just print a final result of a program to stdout (which can be binary data, or some SVG, or just some lines of information). That has nothing to do with “logging”, IMHO.I don’t know who Uncle Bob is. 😳