cordada / lib-cl-sii-python

Python library for Servicio de Impuestos Internos (SII) of Chile
https://lib-cl-sii-python.readthedocs.io
MIT License
27 stars 11 forks source link

cte: Close file object in `f29.parse_datos_obj` #697

Closed jtrobles-cdd closed 1 month ago

jtrobles-cdd commented 1 month ago

Fix the following warning:

cl_sii/cte/f29/parse_datos_obj.py:31: ResourceWarning: unclosed file

<_io.TextIOWrapper name='cl_sii/data/cte/f29_datos_obj_missing_key_fixes.json' mode='r' encoding='UTF-8'> CTE_F29_DATOS_OBJ_MISSING_KEY_FIXES: SiiCteF29DatosObjType = json.load(
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.45%. Comparing base (665346c) to head (e6a312f). Report is 2 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #697 +/- ## ======================================== Coverage 87.45% 87.45% ======================================== Files 38 38 Lines 3092 3093 +1 Branches 381 382 +1 ======================================== + Hits 2704 2705 +1 Misses 246 246 Partials 142 142 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.