akretion / xsdata-odoo

Odoo abstract model generator from xsd schemas using xsdata
MIT License
9 stars 8 forks source link

was changing mutable list by mistake #10

Closed rvalyi closed 1 year ago

rvalyi commented 1 year ago

the subtle bug was that class to be skipped set thorugh the XSDATA_SKIP ENV var would alter the mutable SIGNATURE_CLASS_SKIP by mistake. Then inside generator.py, a whole file could be skipped if it contains on of the XSDATA_SKIP class because the generator would believe it was a file like xmldsig-core-schema.xsd ...

codecov[bot] commented 1 year ago

Codecov Report

Merging #10 (0bde6e9) into master (6158275) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   81.44%   81.44%           
=======================================
  Files           5        5           
  Lines         555      555           
  Branches      142      142           
=======================================
  Hits          452      452           
  Misses         70       70           
  Partials       33       33           
Impacted Files Coverage Δ
xsdata_odoo/filters.py 82.07% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more