Skip to content
Myr

keep !r format for now

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent a1e5ff6 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:src/click/types.py+3 added-3 removed
722 unmodified lines
723 ctx.call_on_close(safecall(f.flush))724725 return f726 except OSError as e: # noqa: B014727 self.fail(f"{os.fsdecode(value)!r}: {e.strerror}", param, ctx)727 self.fail(f"'{os.fsdecode(value)}': {e.strerror}", param, ctx)728729 def shell_complete(730 self, ctx: "Context", param: "Parameter", incomplete: str731 ) -> t.List["CompletionItem"]:
144 unmodified lines
876 )877878 if self.readable and not os.access(rv, os.R_OK):879 self.fail(880 _("{name} '{filename}' is not executable.").format(880 _("{name} {filename!r} is not executable.").format(881 name=self.name.title(), filename=os.fsdecode(value)882 ),883 param,884 ctx,885 )886887 if self.writable and not os.access(rv, os.W_OK):888 self.fail(889 _("{name} '{filename}' is not writable.").format(889 _("{name} {filename!r} is not writable.").format(890 name=self.name.title(), filename=os.fsdecode(value)891 ),892 param,893 ctx,
173 unmodified lines