• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andgineer / api-db-prototype / 8766121206

20 Apr 2024 03:45PM UTC coverage: 83.956% (-2.9%) from 86.892%
8766121206

push

github

andgineer
upgrade reqs

2 of 2 new or added lines in 2 files covered. (100.0%)

89 existing lines in 23 files now uncovered.

1057 of 1259 relevant lines covered (83.96%)

0.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/src/version.py
1
"""Return version as 'build' time from file build_timestamp.
2

3
See add_commit_date_git_hook.sh and hook_install.sh
4
"""
5

6
from typing import Optional
1✔
7

8

9
def version() -> Optional[str]:
1✔
10
    """Return app version."""
11
    try:
1✔
12
        return open("build_timestamp", "r", encoding="utf8").read().strip()
1✔
13
    except Exception:
1✔
14
        return None
1✔
15

16

17
if __name__ == "__main__":
1✔
UNCOV
18
    print(version())
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc