Skip to content

Commit

Permalink
feat: Adding python3.11 and 3.12 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Apr 2, 2024
1 parent fb4c9ba commit 224d2d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code_annotations/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def django_find_annotations(
annotation_count, elapsed.total_seconds()
))

except Exception as exc: # pylint: disable=broad-except
except Exception as exc:
click.echo(traceback.print_exc())
fail(str(exc))

Expand Down Expand Up @@ -169,7 +169,7 @@ def static_find_annotations(config_file, source_path, report_path, verbosity, li

click.echo(f"Search found {annotation_count} annotations in {elapsed}.")

except Exception as exc: # pylint: disable=broad-except
except Exception as exc:
click.echo(traceback.print_exc())
fail(str(exc))

Expand Down Expand Up @@ -212,6 +212,6 @@ def generate_docs(

elapsed = datetime.datetime.now() - start_time
click.echo(f"Report rendered in {elapsed.total_seconds()} seconds.")
except Exception as exc: # pylint: disable=broad-except
except Exception as exc:
click.echo(traceback.print_exc())
fail(str(exc))

0 comments on commit 224d2d1

Please sign in to comment.