File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,8 @@ repos:
329329 - id : pyright-verifytypes
330330 name : pyright-verifytypes
331331 stages : [pre-push]
332- entry : uv run --extra=dev -m pyright --verifytypes doccmd
332+ # See https://github.com/pallets/click/issues/3067 for why we need to ignore external.
333+ entry : uv run --extra=dev -m pyright --ignoreexternal --verifytypes doccmd
333334 language : python
334335 pass_filenames : false
335336 types_or : [python]
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ dynamic = [
3737dependencies = [
3838 " beartype>=0.19.0" ,
3939 " charset-normalizer>=3.4.1" ,
40- " click>=8.2 .0" ,
40+ " click>=8.3.0,<8.4 .0" ,
4141 " pygments>=2.18.0" ,
4242 " sybil>=9.1.0,<10.0.0" ,
4343 # Pin this dependency as we expect:
Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ def _get_sybil(
776776 is_flag = True ,
777777 type = _UsePty ,
778778 flag_value = _UsePty .YES ,
779- default = False ,
779+ default = _UsePty . DETECT ,
780780 show_default = "--detect-use-pty" ,
781781 help = (
782782 "Use a pseudo-terminal for running commands. "
@@ -791,7 +791,7 @@ def _get_sybil(
791791 is_flag = True ,
792792 type = _UsePty ,
793793 flag_value = _UsePty .NO ,
794- default = False ,
794+ default = _UsePty . DETECT ,
795795 show_default = "--detect-use-pty" ,
796796 help = (
797797 "Do not use a pseudo-terminal for running commands. "
@@ -805,7 +805,7 @@ def _get_sybil(
805805 is_flag = True ,
806806 type = _UsePty ,
807807 flag_value = _UsePty .DETECT ,
808- default = True ,
808+ default = _UsePty . DETECT ,
809809 show_default = "True" ,
810810 help = (
811811 "Automatically determine whether to use a pseudo-terminal for running "
You can’t perform that action at this time.
0 commit comments