Skip to content

Add testing, linting, and format checks#4

Merged
MrSir merged 45 commits intomainfrom
add_testing
Jan 16, 2026
Merged

Add testing, linting, and format checks#4
MrSir merged 45 commits intomainfrom
add_testing

Conversation

@MrSir
Copy link
Owner

@MrSir MrSir commented Jan 15, 2026

Added some much needed maintainability checks.

  • lint
  • format
  • tests (currently at 7%)

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/f1p
   main.py47470%1–93
src/f1p/services/data_extractor
   __init__.py28921625%24–47, 51–54, 58–61, 65–68, 72–75, 79–82, 86–89, 93–96, 99–102, 106–109, 113–116, 120–123, 127–158, 162–166, 170, 174, 178, 182, 186–189, 193, 197–200, 204, 208–213, 216–247, 251–254, 257–265, 268–275, 278–285, 288–291, 294–299, 302–306, 309–315, 318–360, 363–436, 439–459, 462–482, 485–500
   enums.py19289%13, 24
src/f1p/services/procedural3d
   __init__.py550%7–11
   base.py1001000%7–189
   box.py3473470%6–601
   cone.py4534530%6–849
   cylinder.py4264260%6–804
   sphere.py7267260%6–1298
   torus.py4564560%6–826
src/f1p/ui/components
   driver.py62620%1–119
   map.py77770%1–107
   menu.py71710%1–131
   origin.py19190%1–28
   playback.py1061060%1–226
src/f1p/ui/components/gui
   button.py880%1–18
   drop_down.py1121120%1–229
src/f1p/ui/components/leaderboard
   __init__.py1071070%1–311
src/f1p/ui/components/leaderboard/processors
   __init__.py1621620%1–246
src/f1p/utils
   color.py880%1–17
   geometry.py383021%6–11, 14–17, 21–32, 41, 48–59, 62–73
   performance.py12120%1–16
TOTAL365035523% 

Tests Skipped Failures Errors Time
5 0 💤 0 ❌ 0 🔥 2.726s ⏱️

@github-actions
Copy link

github-actions bot commented Jan 16, 2026

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/f1p
   main.py47470%1–93
src/f1p/services/data_extractor
   __init__.py28921622%24–47, 51–54, 58–61, 65–68, 72–75, 79–82, 86–89, 93–96, 99–102, 106–109, 113–116, 120–123, 127–158, 162–166, 170, 174, 178, 182, 186–189, 193, 197–200, 204, 208–213, 216–253, 257–260, 263–271, 274–281, 284–291, 294–298, 301–306, 309–313, 316–322, 325–386, 389–483, 486–503, 506–526, 529–544
   enums.py19289%13, 25
src/f1p/ui/components
   driver.py62620%1–119
   map.py77770%1–107
   menu.py71710%1–138
   origin.py19190%1–28
   playback.py1041040%1–224
src/f1p/ui/components/gui
   button.py880%1–18
   drop_down.py1121120%1–225
src/f1p/ui/components/leaderboard
   __init__.py1071070%1–317
src/f1p/ui/components/leaderboard/processors
   __init__.py1621620%1–245
src/f1p/utils
   color.py880%1–17
   geometry.py383021%6–11, 15–18, 22–33, 43, 51–62, 66–77
   performance.py12120%1–19
TOTAL113510377% 

Tests Skipped Failures Errors Time
5 0 💤 0 ❌ 0 🔥 3.021s ⏱️

@MrSir MrSir changed the title Add testing Add testing, linting, and format checks Jan 16, 2026
@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/f1p
   main.py47470%1–93
src/f1p/services/data_extractor
   __init__.py28921622%24–47, 51–54, 58–61, 65–68, 72–75, 79–82, 86–89, 93–96, 99–102, 106–109, 113–116, 120–123, 127–158, 162–166, 170, 174, 178, 182, 186–189, 193, 197–200, 204, 208–213, 216–253, 257–260, 263–271, 274–281, 284–291, 294–298, 301–306, 309–313, 316–322, 325–386, 389–483, 486–503, 506–526, 529–544
   enums.py19289%13, 25
src/f1p/ui/components
   driver.py62620%1–119
   map.py77770%1–107
   menu.py71710%1–138
   origin.py19190%1–28
   playback.py1041040%1–224
src/f1p/ui/components/gui
   button.py880%1–18
   drop_down.py1121120%1–225
src/f1p/ui/components/leaderboard
   __init__.py1071070%1–317
src/f1p/ui/components/leaderboard/processors
   __init__.py1621620%1–245
src/f1p/utils
   color.py880%1–17
   geometry.py383021%6–11, 15–18, 22–33, 43, 51–62, 66–77
   performance.py12120%1–19
TOTAL113510377% 

Tests Skipped Failures Errors Time
5 0 💤 0 ❌ 0 🔥 2.628s ⏱️

@MrSir MrSir merged commit 64ccbb9 into main Jan 16, 2026
4 checks passed
@MrSir MrSir deleted the add_testing branch January 16, 2026 03:07
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