Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refine: apply pre-commit fixes #297

Closed
wants to merge 6 commits into from
Closed

Conversation

Bodong-Yang
Copy link
Member

No description provided.

Copy link
Contributor

github-actions bot commented May 9, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py50100% 
__main__.py110%16
_utils
   __init__.py31583%69–71, 86, 88
   linux.py471176%45–47, 53, 63, 68, 70, 102–103, 127–128
   logging.py291451%41–44, 49–52, 54–55, 57–58, 62–63
   typing.py150100% 
app
   __main__.py110%16
   common.py3843989%51, 131, 237, 240–242, 257, 264–266, 332–334, 344, 353–355, 461, 473, 592, 596, 684, 686, 718–720, 722, 748–751, 756, 760–764, 790–791
   configs.py760100% 
   downloader.py2634483%59, 72–73, 288, 293, 297, 315–316, 366–370, 389–391, 394–395, 398–399, 420–423, 427–428, 432–433, 437–438, 447, 522–524, 540, 560–562, 566, 568, 571, 576–578
   errors.py1130100% 
   interface.py50100% 
   log_setting.py56787%42–43, 55, 57, 68–70
   main.py29293%44–45
   ota_client.py40114962%53–54, 74, 180–181, 194, 197, 201, 204, 241–244, 256–259, 262–263, 267–272, 282–285, 290–291, 293, 302, 305, 308, 310–311, 313–320, 323, 325, 328, 370–373, 378, 382, 385, 398–401, 404–411, 414–421, 427–430, 459, 462–463, 465, 468–471, 473–474, 479–480, 483, 497–504, 511, 514–520, 567–570, 578, 614, 619–622, 627–629, 632–633, 635–636, 638–639, 641, 701–702, 705, 713–714, 717, 728–729, 732, 740–741, 744, 755, 774, 785–786, 803, 822, 826–827, 842
   ota_client_call.py38684%42–44, 80–82
   ota_client_service.py27388%55–57
   ota_client_stub.py39410972%76–78, 80–81, 89–92, 95–97, 101, 106–107, 109–110, 113, 115–116, 119–121, 124–125, 128–130, 135–140, 144, 147–151, 153–154, 162–164, 167, 204–206, 211, 247, 272, 275, 278, 382, 408, 410, 436, 486, 543, 613–614, 653, 672–674, 680–683, 687–689, 696–698, 701, 705–708, 761, 848–850, 857, 887–888, 891–895, 904–913, 920, 926, 929–930, 934, 937
   ota_metadata.py3153289%126, 131, 167–168, 178–179, 182, 194, 252, 262–265, 304–307, 387, 390, 398–400, 413, 422–423, 426–427, 700–701, 704, 708, 711
   ota_status.py14285%34, 42
   update_stats.py105298%159, 169
app/boot_control
   __init__.py40100% 
   _common.py2357866%68–69, 90–92, 108–109, 129–130, 149–150, 169–170, 189–190, 205–206, 227, 235, 253, 261, 280–281, 284–285, 308, 310–319, 321–330, 332–334, 353, 356, 364, 372, 388–390, 392–397, 490, 495, 500, 559–560, 614, 618–619, 622, 630, 632–633, 707–708, 718, 736
   _grub.py42112969%207, 255–258, 264–268, 305–306, 313–318, 321–327, 330, 333–335, 340, 342–344, 353–359, 361–362, 364–366, 375–377, 379–381, 460–461, 465–466, 518, 524, 550, 572, 576–577, 592–594, 618–621, 633, 637–639, 641–643, 702–705, 730–733, 756–759, 771–772, 775–776, 811, 817, 837–838, 840, 852, 855, 858, 861, 865–867, 885–888, 916–919, 924–932, 937–945
   _jetson_cboot.py40528330%47, 70, 116–121, 123, 128–129, 134–137, 144–145, 153–154, 161–162, 169–170, 175–176, 194–203, 215, 222–223, 235, 241–242, 252–254, 266–267, 276–277, 279–281, 284–285, 288, 292, 296, 299–301, 304–305, 307, 341–344, 347–348, 351–355, 358–359, 363–364, 369–370, 372–376, 378–384, 386–387, 392, 395, 398–399, 402, 406–407, 411–412, 416, 419, 422, 426–432, 434–436, 441, 444, 447, 451, 458, 460–463, 476, 479, 483, 485–487, 491, 502, 517, 519, 522, 528–529, 534, 542, 550–552, 561–562, 564–566, 572, 575–577, 581–582, 584, 587, 600–602, 604–605, 608–614, 616–618, 620–624, 626, 630–633, 635, 637, 641, 646–647, 650, 665–667, 670, 673, 676–681, 683–685, 688, 691, 695–700, 704–706, 711–712, 716–717, 720, 723, 726–727, 730, 733–734, 739, 742, 745–746, 748, 750, 753, 756, 758–759, 762–766, 771–772, 774, 777–778, 780–783, 786, 789–790, 795, 798, 801–809, 814–822, 827–835, 841–843, 846, 849
   _rpi_boot.py25912252%80–82, 88–89, 91–93, 95, 98–99, 104–105, 114–115, 119, 121, 127, 131–134, 139–141, 145–148, 172–174, 180–182, 195–197, 203–205, 218–225, 227, 231–233, 236–239, 242–243, 248, 252, 256, 260, 294, 321–323, 333–336, 340–346, 386–388, 430–434, 453–456, 461, 464, 488–491, 496–504, 509–517, 531–534, 540–542, 545
   configs.py450100% 
   protocol.py40100% 
   selecter.py382631%44–46, 49–50, 54–55, 58–60, 63, 65, 69, 77–79, 81–82, 84–85, 89, 91–93, 95, 97
app/create_standby
   __init__.py12558%28–30, 32, 34
   common.py2164579%56, 59–60, 64–66, 68, 70–72, 75, 77, 123, 171–173, 175–177, 179, 182–185, 189, 200, 274–275, 277–282, 294, 338, 341–343, 359–360, 374, 378, 403–404
   interface.py60100% 
   rebuild_mode.py89198%100
app/proto
   __init__.py31390%37, 44–45
   _common.py4024688%74, 152, 159, 171–173, 192, 197, 208, 244, 250, 255, 286, 290, 294, 389, 449, 456, 459, 479, 486, 488, 513, 519, 522, 524, 549, 555, 558, 560, 589, 593, 595, 609, 626, 653, 656, 660, 663, 691, 697, 744–747, 749
   _ota_metafiles_wrapper.py841384%38, 41–43, 113–117, 123–126
   _otaclient_v2_pb2_wrapper.py2612391%81, 84–87, 126, 204–205, 207, 254, 257–258, 501–503, 507–508, 510, 513–514, 517–518, 583
   streamer.py43881%33, 48, 66–67, 72, 81–82, 100
   wrapper.py40100% 
configs
   __init__.py10100% 
   _common.py80100% 
   ecu_info.py58198%108
   proxy_info.py53296%88, 90
ota_proxy
   __init__.py31680%59, 61, 63, 72, 81–82
   __main__.py770%16–18, 20, 22–23, 25
   _consts.py150100% 
   cache_control.py68494%71, 91, 113, 121
   config.py180100% 
   db.py1461589%75, 81, 103, 113, 116, 145–147, 166, 199, 208–209, 229, 258, 300
   errors.py50100% 
   orm.py1131091%81, 86, 91, 97, 103, 130–131, 144, 221, 225
   ota_cache.py4048878%81–82, 201, 212, 239–241, 261, 277–278, 280, 303–304, 310, 314, 316, 345–349, 365, 426–427, 469–470, 540, 553–556, 606, 625–626, 658–659, 670, 704–708, 712–714, 716, 718–725, 727–729, 732–733, 737–738, 742, 789, 797–799, 878–881, 885, 888–889, 903–904, 906–908, 912–913, 919–920, 951, 957, 984, 1013–1015
   server_app.py1383971%67, 70, 76, 92, 94, 153, 162, 204–205, 207–209, 212, 217–219, 222–223, 226, 229, 232, 235, 248–249, 252–253, 255, 258, 284–287, 290, 304–306, 312–314
   utils.py23195%33
TOTAL5996138276% 

Tests Skipped Failures Errors Time
179 0 💤 0 ❌ 0 🔥 5m 30s ⏱️

@Bodong-Yang Bodong-Yang force-pushed the refactor/apply_pre_commit branch from fb24eb5 to ce5d065 Compare May 9, 2024 15:48
@Bodong-Yang Bodong-Yang closed this May 9, 2024
Copy link

sonarqubecloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Bodong-Yang Bodong-Yang deleted the refactor/apply_pre_commit branch May 9, 2024 15:59
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.

1 participant