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

update to latest gdsfactory #58

Merged
merged 1 commit into from
Feb 13, 2023
Merged

update to latest gdsfactory #58

merged 1 commit into from
Feb 13, 2023

Conversation

joamatab
Copy link
Contributor

No description provided.

@sourcery-ai
Copy link

sourcery-ai bot commented Feb 13, 2023

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 5.29 ⭐ 5.29 ⭐ 0.00
Method Length 678.64 ⛔ 678.64 ⛔ 0.00
Working memory 29.67 ⛔ 29.67 ⛔ 0.00
Quality 42.14% 😞 42.14% 😞 0.00%
Other metrics Before After Change
Lines 6020 6020 0
Changed files Quality Before Quality After Quality Change
sky130/layers.py 61.54% 🙂 61.54% 🙂 0.00%
sky130/nmos.py 53.25% 🙂 53.25% 🙂 0.00%
sky130/klayout/sky130/layers.py 66.67% 🙂 66.67% 🙂 0.00%
sky130/pcells/mimcap_1.py 40.32% 😞 40.32% 😞 0.00%
sky130/pcells/mimcap_2.py 41.02% 😞 41.02% 😞 0.00%
sky130/pcells/nmos.py 26.93% 😞 26.93% 😞 0.00%
sky130/pcells/nmos_5v.py 29.83% 😞 29.83% 😞 0.00%
sky130/pcells/npn_W1L1.py 24.01% ⛔ 24.01% ⛔ 0.00%
sky130/pcells/npn_W1L2.py 20.55% ⛔ 20.55% ⛔ 0.00%
sky130/pcells/p_n_poly.py 29.47% 😞 29.47% 😞 0.00%
sky130/pcells/p_p_poly.py 29.47% 😞 29.47% 😞 0.00%
sky130/pcells/pmos.py 26.95% 😞 26.95% 😞 0.00%
sky130/pcells/pmos_5v.py 29.88% 😞 29.88% 😞 0.00%
sky130/pcells/pnp.py 19.81% ⛔ 19.81% ⛔ 0.00%
sky130/pcells/via_generator.py 40.97% 😞 40.97% 😞 0.00%

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
sky130/pcells/pnp.py pnp 16 🙂 3650 ⛔ 46 ⛔ 18.53% ⛔ Try splitting into smaller methods. Extract out complex expressions
sky130/pcells/npn_W1L2.py npn_W1L2 15 🙂 3796 ⛔ 49 ⛔ 19.31% ⛔ Try splitting into smaller methods. Extract out complex expressions
sky130/pcells/npn_W1L1.py npn_W1L1 11 🙂 3646 ⛔ 48 ⛔ 22.77% ⛔ Try splitting into smaller methods. Extract out complex expressions
sky130/pcells/nmos.py nmos 8 ⭐ 2380 ⛔ 55 ⛔ 25.50% 😞 Try splitting into smaller methods. Extract out complex expressions
sky130/pcells/pmos.py pmos 8 ⭐ 2380 ⛔ 55 ⛔ 25.50% 😞 Try splitting into smaller methods. Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #58 (fc5c337) into main (10072bd) will not change coverage.
The diff coverage is 92.85%.

@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage   80.18%   80.18%           
=======================================
  Files          20       20           
  Lines        5677     5677           
=======================================
  Hits         4552     4552           
  Misses       1125     1125           
Impacted Files Coverage Δ
sky130/nmos.py 0.00% <0.00%> (ø)
sky130/layers.py 99.81% <100.00%> (ø)
sky130/pcells/mimcap_1.py 95.00% <100.00%> (ø)
sky130/pcells/mimcap_2.py 94.87% <100.00%> (ø)
sky130/pcells/nmos.py 81.16% <100.00%> (ø)
sky130/pcells/nmos_5v.py 90.47% <100.00%> (ø)
sky130/pcells/npn_W1L1.py 97.29% <100.00%> (ø)
sky130/pcells/npn_W1L2.py 97.38% <100.00%> (ø)
sky130/pcells/p_n_poly.py 93.33% <100.00%> (ø)
sky130/pcells/p_p_poly.py 93.33% <100.00%> (ø)
... and 4 more

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

@joamatab joamatab merged commit fb55984 into main Feb 13, 2023
@joamatab joamatab deleted the 050 branch March 6, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant