
from sympy.core import Integer

from dimensionful.dimensions import *
from dimensionful.units import Unit, unit_symbols_dict

# cgs base units
g  = Unit("g")
cm = Unit("cm")
s  = Unit("s")
K  = Unit("K")

# other cgs
dyne = Unit("dyne")
erg  = Unit("erg")
esu  = Unit("esu")

# SI stuff
m = Unit("m")

# times
minute = Unit("min")  # can't use `min` because of Python keyword :(
hr = Unit("hr")
day = Unit("day")
yr = Unit("yr")

# solar units
Msun = Unit("Msun")
Rsun = Unit("Rsun")
Lsun = Unit("Lsun")
Tsum = Unit("Tsun")

# astro distances
AU = Unit("AU")
pc = Unit("pc")
ly = Unit("ly")

gauss = Unit("gauss")


from dimensionful.dimensions import *
from dimensionful.units import Unit

# cgs base units
g  = Unit("g")
cm = Unit("cm")
s  = Unit("s")
K  = Unit("K")

# other cgs
dyne = Unit("dyne")
erg  = Unit("erg")
esu  = Unit("esu")

# SI stuff
m = Unit("m")

# times
minute = Unit("min")  # can't use `min` because of Python keyword :(
hr = Unit("hr")
day = Unit("day")
yr = Unit("yr")

# solar units
Msun = Unit("Msun")
Rsun = Unit("Rsun")
Lsun = Unit("Lsun")
Tsum = Unit("Tsun")

# astro distances
AU = Unit("AU")
pc = Unit("pc")
ly = Unit("ly")

gauss = Unit("gauss")

Remove imports we don't need anymore.
Remove imports we don't need anymore.
- 
- from sympy.core import Integer
  
  from dimensionful.dimensions import *
- from dimensionful.units import Unit, unit_symbols_dict
+ from dimensionful.units import Unit
  
  # cgs base units
  g  = Unit("g")
  cm = Unit("cm")
  s  = Unit("s")
  K  = Unit("K")
  
  # other cgs
  dyne = Unit("dyne")
  erg  = Unit("erg")
  esu  = Unit("esu")
  
  # SI stuff
  m = Unit("m")
  
  # times
  minute = Unit("min")  # can't use `min` because of Python keyword :(
  hr = Unit("hr")
  day = Unit("day")
  yr = Unit("yr")
  
  # solar units
  Msun = Unit("Msun")
  Rsun = Unit("Rsun")
  Lsun = Unit("Lsun")
  Tsum = Unit("Tsun")
  
  # astro distances
  AU = Unit("AU")
  pc = Unit("pc")
  ly = Unit("ly")
  
  gauss = Unit("gauss")
  
Remove imports we don't need anymore.
## Code Before:

from sympy.core import Integer

from dimensionful.dimensions import *
from dimensionful.units import Unit, unit_symbols_dict

# cgs base units
g  = Unit("g")
cm = Unit("cm")
s  = Unit("s")
K  = Unit("K")

# other cgs
dyne = Unit("dyne")
erg  = Unit("erg")
esu  = Unit("esu")

# SI stuff
m = Unit("m")

# times
minute = Unit("min")  # can't use `min` because of Python keyword :(
hr = Unit("hr")
day = Unit("day")
yr = Unit("yr")

# solar units
Msun = Unit("Msun")
Rsun = Unit("Rsun")
Lsun = Unit("Lsun")
Tsum = Unit("Tsun")

# astro distances
AU = Unit("AU")
pc = Unit("pc")
ly = Unit("ly")

gauss = Unit("gauss")

## Instruction:
Remove imports we don't need anymore.
## Code After:

from dimensionful.dimensions import *
from dimensionful.units import Unit

# cgs base units
g  = Unit("g")
cm = Unit("cm")
s  = Unit("s")
K  = Unit("K")

# other cgs
dyne = Unit("dyne")
erg  = Unit("erg")
esu  = Unit("esu")

# SI stuff
m = Unit("m")

# times
minute = Unit("min")  # can't use `min` because of Python keyword :(
hr = Unit("hr")
day = Unit("day")
yr = Unit("yr")

# solar units
Msun = Unit("Msun")
Rsun = Unit("Rsun")
Lsun = Unit("Lsun")
Tsum = Unit("Tsun")

# astro distances
AU = Unit("AU")
pc = Unit("pc")
ly = Unit("ly")

gauss = Unit("gauss")
