.editorconfig or .dir-locals.el.ruff format with a line length of 109 characters and four spaces
indentation.# noqa: E501 comments is allowed.# fmt: skip comments, e.g. do
cmd = [
"--option", "foo",
] # fmt: skip
and do NOT do
cmd = [
"--option",
"foo",
]
os.fspath, since this calls the __fspath__ protocol
instead of __str__. It also ensures more type-safety, since every Python object supports __str__, but
not all support __fspath__ and this gives the typechecker more information what is expected at this
point. It also signals the intent to the reader more than a blanket str().