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

Adding some aliases #90

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

Adding some aliases #90

wants to merge 27 commits into from

Conversation

Elfangor93
Copy link

I added some aliases in the unit scripts for better usability...

@@ -23,19 +30,25 @@
###############################################################################

volts = volt
v = volt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you keep existing definitions - removing them will break existing code that expects them.

@corranwebster
Copy link
Contributor

Test failures are because of removed unit types.

@corranwebster
Copy link
Contributor

This is generally fine, and I would be Ok with merging this, but we need to keep backward compatibility even if we have some synonyms which are not precisely the right thing.

@codecov-io
Copy link

codecov-io commented Jul 23, 2019

Codecov Report

Merging #90 into master will increase coverage by 1.13%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage    60.9%   62.03%   +1.13%     
==========================================
  Files          75       75              
  Lines        3210     3306      +96     
  Branches      368      368              
==========================================
+ Hits         1955     2051      +96     
  Misses       1163     1163              
  Partials       92       92
Impacted Files Coverage Δ
scimath/units/angle.py 100% <100%> (ø) ⬆️
scimath/units/electromagnetism.py 100% <100%> (ø) ⬆️
scimath/units/power.py 100% <100%> (ø) ⬆️
scimath/units/speed.py 100% <100%> (ø) ⬆️
scimath/units/area.py 100% <100%> (ø) ⬆️
scimath/units/energy.py 100% <100%> (ø) ⬆️
scimath/units/force.py 100% <100%> (ø) ⬆️
scimath/units/frequency.py 100% <100%> (ø) ⬆️
scimath/units/time.py 100% <100%> (ø) ⬆️
scimath/units/volume.py 100% <100%> (ø) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e18115a...47bb97e. Read the comment docs.

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.

3 participants