Lightmatter / welkin-health

A Python wrapper of the Welkin Health API
https://welkin.readthedocs.io
Other
4 stars 3 forks source link

Add `ruff` linting and formatting #101

Closed samamorgan closed 5 months ago

samamorgan commented 5 months ago

Significantly increases code quality and linting speed

github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.11.9) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py39197%37
   client.py128894%215–219, 232, 266, 278
   pagination.py112695%16, 50, 54, 115, 182, 190
   util.py96199%139
welkin/models
   base.py87990%19–20, 53–55, 58, 114, 119, 122, 137
   calendar.py56395%63, 104, 106
   document.py32197%32
   encounter.py52296%88, 90
   formation.py70199%11
   patient.py41685%50–51, 55–57, 74
   user.py35780%12–15, 54, 58–59
TOTAL9634695% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 3.078s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.10.14) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py39197%37
   client.py128894%215–219, 232, 266, 278
   pagination.py112695%16, 50, 54, 115, 182, 190
   util.py96199%139
welkin/models
   base.py87990%19–20, 53–55, 58, 114, 119, 122, 137
   calendar.py56395%63, 104, 106
   document.py32197%32
   encounter.py52296%88, 90
   formation.py70199%11
   patient.py41685%50–51, 55–57, 74
   user.py35780%12–15, 54, 58–59
TOTAL9634695% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 3.441s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.12.3) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py39197%37
   client.py128894%215–219, 232, 266, 278
   pagination.py112695%16, 50, 54, 115, 182, 190
   util.py96199%139
welkin/models
   base.py87990%19–20, 53–55, 58, 114, 119, 122, 137
   calendar.py56395%63, 104, 106
   document.py32197%32
   encounter.py52296%88, 90
   formation.py70199%11
   patient.py41685%50–51, 55–57, 74
   user.py35780%12–15, 54, 58–59
TOTAL9634695% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 3.107s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.11) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py41295%13, 42
   client.py129894%217–221, 234, 268, 280
   pagination.py113695%18, 52, 56, 117, 184, 192
   util.py97199%141
welkin/models
   base.py88990%21–22, 55–57, 60, 116, 121, 124, 139
   calendar.py59493%10, 68, 109, 111
   cdt.py30197%10
   document.py33197%34
   encounter.py53296%90, 92
   formation.py71199%13
   patient.py42686%52–53, 57–59, 76
   user.py36781%14–17, 56, 60–61
TOTAL9874995% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 3.177s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.12) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py41295%13, 42
   client.py129894%217–221, 234, 268, 280
   pagination.py113695%18, 52, 56, 117, 184, 192
   util.py97199%141
welkin/models
   base.py88990%21–22, 55–57, 60, 116, 121, 124, 139
   calendar.py59493%10, 68, 109, 111
   cdt.py30197%10
   document.py33197%34
   encounter.py53296%90, 92
   formation.py71199%13
   patient.py42686%52–53, 57–59, 76
   user.py36781%14–17, 56, 60–61
TOTAL9874995% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 3.810s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.10) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py41295%13, 42
   client.py129894%217–221, 234, 268, 280
   pagination.py113695%18, 52, 56, 117, 184, 192
   util.py97199%141
welkin/models
   base.py88990%21–22, 55–57, 60, 116, 121, 124, 139
   calendar.py59493%10, 68, 109, 111
   cdt.py30197%10
   document.py33197%34
   encounter.py53296%90, 92
   formation.py71199%13
   patient.py42686%52–53, 57–59, 76
   user.py36781%14–17, 56, 60–61
TOTAL9874995% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 2.843s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.8) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py41295%13, 42
   client.py129894%217–221, 234, 268, 280
   pagination.py113695%18, 52, 56, 117, 184, 192
   util.py97199%141
welkin/models
   base.py88990%21–22, 55–57, 60, 116, 121, 124, 139
   calendar.py59493%10, 68, 109, 111
   cdt.py30197%10
   document.py33197%34
   encounter.py53296%90, 92
   formation.py71199%13
   patient.py42686%52–53, 57–59, 76
   user.py36781%14–17, 56, 60–61
TOTAL9874995% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 2.803s :stopwatch:
github-actions[bot] commented 5 months ago

Coverage

Coverage Report (Python 3.9) •
FileStmtsMissCoverMissing
welkin
   __version__.py15193%10
   authentication.py41295%13, 42
   client.py129894%217–221, 234, 268, 280
   pagination.py113695%18, 52, 56, 117, 184, 192
   util.py97199%141
welkin/models
   base.py88990%21–22, 55–57, 60, 116, 121, 124, 139
   calendar.py59493%10, 68, 109, 111
   cdt.py30197%10
   document.py33197%34
   encounter.py53296%90, 92
   formation.py71199%13
   patient.py42686%52–53, 57–59, 76
   user.py36781%14–17, 56, 60–61
TOTAL9874995% 

Tests Skipped Failures Errors Time
222 2 :zzz: 0 :x: 0 :fire: 3.264s :stopwatch: