Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic optimizer passes #312

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Add optimizer BasePass tests

0c70fb6
Select commit
Loading
Failed to load commit list.
Open

Add basic optimizer passes #312

Add optimizer BasePass tests
0c70fb6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 6, 2024 in 1s

72.82% of diff hit (target 90.49%)

View this Pull Request on Codecov

72.82% of diff hit (target 90.49%)

Annotations

Check warning on line 134 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L133-L134

Added lines #L133 - L134 were not covered by tests

Check warning on line 142 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L138-L142

Added lines #L138 - L142 were not covered by tests

Check warning on line 144 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L144

Added line #L144 was not covered by tests

Check warning on line 146 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L146

Added line #L146 was not covered by tests

Check warning on line 150 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L150

Added line #L150 was not covered by tests

Check warning on line 154 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L154

Added line #L154 was not covered by tests

Check warning on line 184 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L184

Added line #L184 was not covered by tests

Check warning on line 194 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L194

Added line #L194 was not covered by tests

Check warning on line 248 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L248

Added line #L248 was not covered by tests

Check warning on line 259 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L259

Added line #L259 was not covered by tests

Check warning on line 266 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L266

Added line #L266 was not covered by tests

Check warning on line 281 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L281

Added line #L281 was not covered by tests

Check warning on line 332 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L332

Added line #L332 was not covered by tests

Check warning on line 336 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L336

Added line #L336 was not covered by tests

Check warning on line 359 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L359

Added line #L359 was not covered by tests

Check warning on line 363 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L363

Added line #L363 was not covered by tests

Check warning on line 367 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L367

Added line #L367 was not covered by tests

Check warning on line 371 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L371

Added line #L371 was not covered by tests

Check warning on line 375 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L375

Added line #L375 was not covered by tests

Check warning on line 379 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L379

Added line #L379 was not covered by tests

Check warning on line 383 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L383

Added line #L383 was not covered by tests

Check warning on line 387 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L387

Added line #L387 was not covered by tests

Check warning on line 391 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L391

Added line #L391 was not covered by tests

Check warning on line 395 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L395

Added line #L395 was not covered by tests

Check warning on line 399 in src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pygerber/gerber/optimizer/optimizer_pass/base_pass.py#L399

Added line #L399 was not covered by tests