neithere / argh

An argparse wrapper that doesn't make you say "argh" each time you deal with it.
http://argh.rtfd.org
GNU Lesser General Public License v3.0
369 stars 55 forks source link

Fix type annotation of `errors` in `wrap_errors` #229

Closed laazy closed 2 months ago

laazy commented 2 months ago

original typing is List[Exception], which is not the type of Exception class such as [AssertionError]. should be fixed as List[Type[Exception]].