lidatong / dataclasses-json

Easily serialize Data Classes to and from JSON
MIT License
1.36k stars 153 forks source link

Checkout with crlf correction #467

Open george-zubrienko opened 1 year ago

george-zubrienko commented 1 year ago

Fixes #461

Updates git config to use autocrlf=input before running a checkout action on all workflows

github-actions[bot] commented 1 year ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
dataclasses_json
   cfg.py51492%80, 84–86
   core.py2351096%38–41, 51, 64, 66, 81, 83, 169, 197
   mm.py2023085%33–36, 42–45, 53–56, 62–65, 88, 161–162, 167, 171, 175, 180, 184, 188, 196, 202, 207, 216, 221, 226, 235, 244–251
   stringcase.py25388%59, 76, 97
   undefined.py143299%24, 38
   utils.py1283672%11–24, 44–49, 60–64, 74, 99–100, 108–109, 124–132, 158, 177, 202
tests
   entities.py226299%229, 235
   test_annotations.py814248%50–67, 78–102, 106–122
   test_api.py142497%88, 99, 139–140
   test_str_subclass.py22195%9
   test_union.py981090%87–94, 108–115
TOTAL248614494% 

Tests Skipped Failures Errors Time
292 3 :zzz: 0 :x: 0 :fire: 5.559s :stopwatch:
USSX-Hares commented 1 year ago

Does the documentation build automatically for the PR CI triggers?

george-zubrienko commented 1 year ago

Does the documentation build automatically for the PR CI triggers?

That's the fun part, I do not actually know what builds GH pages 😄 , we only have access to code-defined workflows. I can also add .gitattributes file maybe? But this won't fix existing crlf

USSX-Hares commented 1 year ago

Kinda magical. Maybe it wad removed earlier, or maybe there's a separate repo for that?

matt035343 commented 1 year ago

@USSX-Hares Looks like the gh-pages branch contains website stuff which I guess is the documentation? The indentation and spacing looks a bit funky.