Skip to content

Conversation

@doctoryes
Copy link
Contributor

Bump version.

Description: Add prefixing of report filename. Change elapsed time to seconds.

JIRA: Link to JIRA ticket

Dependencies: dependencies on other outstanding PRs, issues, etc.

Merge deadline: List merge deadline (if any)

Installation instructions: List any non-trivial installation
instructions.

Testing instructions:

  1. Do thing A
  2. Expect B to happen
  3. If C happened instead - check failed.

Reviewers:

  • tag reviewer
  • tag reviewer

Merge checklist:

  • All reviewers approved
  • CI build is green
  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed
  • PR author is listed in AUTHORS

Post merge:

  • Create a tag
  • Check new version is pushed to PyPi after tag-triggered build is
    finished.
  • Delete working branch (if not needed anymore)

Author concerns: List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.

click.echo("Search found {} annotations in {}.".format(annotation_count, elapsed))
click.echo("Search found {} annotations in {} seconds.".format(
annotation_count, elapsed.total_seconds()
))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, this output looks like this:
Search found 357 annotations in -1 day, 19:00:12.574411.
This change will make it look like this:
Search found 357 annotations in 29.3801 seconds.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. I have a different fix for it in the big refactor PR, but I'm glad to see it sorted.

@doctoryes doctoryes requested review from bmedx and pwnage101 February 21, 2019 03:28
Copy link
Contributor

@bmedx bmedx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

click.echo("Search found {} annotations in {}.".format(annotation_count, elapsed))
click.echo("Search found {} annotations in {} seconds.".format(
annotation_count, elapsed.total_seconds()
))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. I have a different fix for it in the big refactor PR, but I'm glad to see it sorted.

@doctoryes doctoryes merged commit 98417b4 into master Feb 21, 2019
@doctoryes doctoryes deleted the juliasq/date_fix_annotation_num_return branch February 21, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants