pygerber icon indicating copy to clipboard operation
pygerber copied to clipboard

Add PyGerber 3 Parser implementation

Open Argmaster opened this issue 1 year ago • 1 comments

Major rewrite of parser infrastructure of PyGerber for 3.0.0 release

Argmaster avatar Jul 14 '24 23:07 Argmaster

Codecov Report

Attention: Patch coverage is 94.91423% with 169 lines in your changes missing coverage. Please review.

Project coverage is 86.79%. Comparing base (0b40481) to head (4d16851). Report is 94 commits behind head on feature/pygerber-3-vm.

Files Patch % Lines
...rc/pygerber/gerberx3/ast/state_tracking_visitor.py 77.37% 74 Missing :warning:
src/pygerber/gerberx3/formatter.py 96.38% 30 Missing :warning:
src/pygerber/gerberx3/ast/nodes/attribute/TO.py 89.30% 17 Missing :warning:
src/pygerber/gerberx3/ast/nodes/attribute/TF.py 90.65% 10 Missing :warning:
src/pygerber/gerberx3/ast/ast_visitor.py 98.20% 5 Missing :warning:
src/pygerber/gerberx3/ast/errors.py 73.68% 5 Missing :warning:
src/pygerber/gerberx3/formatter_presets.py 0.00% 5 Missing :warning:
...c/pygerber/gerberx3/ast/expression_eval_visitor.py 92.15% 4 Missing :warning:
src/pygerber/gerberx3/ast/nodes/attribute/TA.py 94.33% 3 Missing :warning:
src/pygerber/gerberx3/ast/nodes/base.py 89.28% 3 Missing :warning:
... and 8 more
Additional details and impacted files
@@                    Coverage Diff                    @@
##           feature/pygerber-3-vm     #256      +/-   ##
=========================================================
+ Coverage                  84.74%   86.79%   +2.05%     
=========================================================
  Files                        203      292      +89     
  Lines                       8100    10707    +2607     
=========================================================
+ Hits                        6864     9293    +2429     
- Misses                      1236     1414     +178     
Flag Coverage Δ
unittests 86.79% <94.91%> (+2.05%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

codecov[bot] avatar Jul 14 '24 23:07 codecov[bot]