summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2022-03-31 13:41:31 -0700
committerDavid Lord <davidism@gmail.com>2022-03-31 13:44:24 -0700
commitb36bf8f9b36ab7db8cf03cd8eff714dfc33f0c29 (patch)
tree8fd9ef25219fc753e6dfdac45aa08bcc4ef0adaf /src
parenta66119abe973f55b4f5e28dbb0da6f3c32c21af7 (diff)
downloadclick-b36bf8f9b36ab7db8cf03cd8eff714dfc33f0c29.tar.gz
restore Path param order
Diffstat (limited to 'src')
-rw-r--r--src/click/types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/click/types.py b/src/click/types.py
index 2ca4ffb..b45ee53 100644
--- a/src/click/types.py
+++ b/src/click/types.py
@@ -790,12 +790,12 @@ class Path(ParamType):
exists: bool = False,
file_okay: bool = True,
dir_okay: bool = True,
- readable: bool = True,
writable: bool = False,
- executable: bool = False,
+ readable: bool = True,
resolve_path: bool = False,
allow_dash: bool = False,
path_type: t.Optional[t.Type] = None,
+ executable: bool = False,
):
self.exists = exists
self.file_okay = file_okay