[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4045: The CI typechecks job fails after the click 8.1.4 release

Tahoe-LAFS trac at tahoe-lafs.org
Fri Jul 7 20:09:06 UTC 2023


#4045: The CI typechecks job fails after the click 8.1.4 release
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 {{{
 src/allmydata/cli/grid_manager.py:31:2: error: Argument 1 has incompatible
 type
 "Callable[[Any], Any]"; expected <nothing>  [arg-type]
     @click.group()
      ^
 src/allmydata/cli/grid_manager.py:74:2: error: <nothing> has no attribute
 "command"  [attr-defined]
     @grid_manager.command()
      ^~~~~~~~~~~~~~~~~~~~
 src/allmydata/cli/grid_manager.py:94:2: error: <nothing> has no attribute
 "command"  [attr-defined]
     @grid_manager.command()
      ^~~~~~~~~~~~~~~~~~~~
 src/allmydata/cli/grid_manager.py:106:2: error: Argument 1 has
 incompatible
 type "Callable[[Any, Any], Any]"; expected <nothing>  [arg-type]
     @grid_manager.command()
      ^
 src/allmydata/cli/grid_manager.py:106:2: error: <nothing> has no attribute
 "command"  [attr-defined]
     @grid_manager.command()
      ^~~~~~~~~~~~~~~~~~~~
 src/allmydata/cli/grid_manager.py:135:2: error: Argument 1 has
 incompatible
 type "Callable[[Any], Any]"; expected <nothing>  [arg-type]
     @grid_manager.command()
      ^
 src/allmydata/cli/grid_manager.py:135:2: error: <nothing> has no attribute
 "command"  [attr-defined]
     @grid_manager.command()
      ^~~~~~~~~~~~~~~~~~~~
 src/allmydata/cli/grid_manager.py:158:2: error: <nothing> has no attribute
 "command"  [attr-defined]
     @grid_manager.command()  # noqa: F811
      ^~~~~~~~~~~~~~~~~~~~
 src/allmydata/cli/grid_manager.py:178:2: error: Argument 1 has
 incompatible
 type "Callable[[Any, Any], Any]"; expected <nothing>  [arg-type]
     @grid_manager.command()
      ^
 src/allmydata/cli/grid_manager.py:178:2: error: <nothing> has no attribute
 "command"  [attr-defined]
     @grid_manager.command()
      ^~~~~~~~~~~~~~~~~~~~
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4045>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list