Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 25, 2024
1 parent 160b048 commit c11cb12
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 117 deletions.
110 changes: 55 additions & 55 deletions src/hepunits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,52 +248,22 @@


__all__ = (
"units",
"constants",
"atto",
"centi",
"deca",
"deci",
"exa",
"exbi",
"femto",
"gibi",
"giga",
"googol",
"hecto",
"kibi",
"kilo",
"mebi",
"mega",
"micro",
"milli",
"nano",
"pebi",
"peta",
"pico",
"tebi",
"tera",
"yobi",
"yocto",
"yotta",
"zebi",
"zepto",
"zetta",
"GW",
"MW",
"A",
"Avogadro",
"Bq",
"Ci",
"EeV",
"GBq",
"GHz",
"GW",
"GeV",
"Gy",
"Hz",
"J",
"MBq",
"MGy",
"MHz",
"MW",
"MeV",
"N",
"Pa",
Expand All @@ -303,38 +273,52 @@
"TeV",
"W",
"ZeV",
"__version__",
"ab",
"ampere",
"angstrom",
"atmosphere",
"atto",
"attobarn",
"attosecond",
"bar",
"barn",
"becquerel",
"c_light",
"c_light_sq",
"candela",
"cd",
"centi",
"centimeter",
"centimeter2",
"centimeter3",
"cm",
"cm2",
"cm3",
"constants",
"coulomb",
"curie",
"d",
"day",
"deca",
"deci",
"deg",
"degree",
"dyne",
"eV",
"e_SI",
"e_sq",
"electronvolt",
"eminus",
"eplus",
"eplus",
"erg",
"exa",
"exaelectronvolt",
"exbi",
"farad",
"fb",
"femto",
"femtobarn",
"femtometer",
"femtosecond",
Expand All @@ -345,12 +329,22 @@
"fs",
"g",
"gauss",
"gibi",
"giga",
"gigabecquerel",
"gigaelectronvolt",
"gigahertz",
"googol",
"gram",
"gray",
"h",
"h_Planck",
"half_pi",
"hbar",
"hbar_Planck",
"hbarc",
"hbarc_sq",
"hecto",
"henry",
"hertz",
"hour",
Expand All @@ -361,13 +355,18 @@
"invpb",
"invub",
"joule",
"joule",
"kBq",
"kGy",
"kHz",
"kW",
"k_Boltzmann",
"keV",
"kelvin",
"kelvin",
"kg",
"kibi",
"kilo",
"kilobecquerel",
"kiloelectronvolt",
"kilogauss",
Expand All @@ -384,11 +383,14 @@
"lumen",
"lux",
"m",
"m",
"m2",
"m3",
"mCi",
"mGy",
"mb",
"mebi",
"mega",
"megabecquerel",
"megaelectronvolt",
"megagray",
Expand All @@ -398,6 +400,7 @@
"meter2",
"meter3",
"mg",
"micro",
"microampere",
"microbarn",
"microcurie",
Expand All @@ -406,6 +409,7 @@
"micrometer",
"micron",
"microsecond",
"milli",
"milliampere",
"millibarn",
"millicurie",
Expand All @@ -423,9 +427,11 @@
"mm3",
"mol",
"mole",
"mole",
"mrad",
"ms",
"nCi",
"nano",
"nanoampere",
"nanobarn",
"nanocurie",
Expand All @@ -438,57 +444,51 @@
"ohm",
"pascal",
"pb",
"pebi",
"peta",
"petaelectronvolt",
"pi",
"pi_sq",
"pico",
"picobarn",
"picofarad",
"picosecond",
"ps",
"rad",
"radian",
"s",
"s",
"second",
"sievert",
"sr",
"steradian",
"tebi",
"tera",
"teraelectronvolt",
"terahertz",
"tesla",
"two_pi",
"uCi",
"uGy",
"ub",
"units",
"us",
"volt",
"watt",
"weber",
"y",
"year",
"yobi",
"yocto",
"yoctosecond",
"yotta",
"ys",
"zebi",
"zepto",
"zeptosecond",
"zetta",
"zettaelectronvolt",
"zs",
"m",
"s",
"eplus",
"mole",
"joule",
"kelvin",
"c_light",
"c_light_sq",
"pi",
"two_pi",
"half_pi",
"pi_sq",
"eminus",
"e_sq",
"Avogadro",
"h_Planck",
"hbar_Planck",
"hbar",
"hbarc",
"hbarc_sq",
"k_Boltzmann",
"__version__",
)


Expand Down
28 changes: 14 additions & 14 deletions src/hepunits/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,28 @@
)

__all__ = (
"constants",
"m",
"s",
"eplus",
"mole",
"joule",
"kelvin",
"Avogadro",
"c_light",
"c_light_sq",
"pi",
"two_pi",
"half_pi",
"pi_sq",
"eminus",
"constants",
"e_sq",
"Avogadro",
"eminus",
"eplus",
"h_Planck",
"hbar_Planck",
"half_pi",
"hbar",
"hbar_Planck",
"hbarc",
"hbarc_sq",
"joule",
"k_Boltzmann",
"kelvin",
"m",
"mole",
"pi",
"pi_sq",
"s",
"two_pi",
)


Expand Down
26 changes: 13 additions & 13 deletions src/hepunits/constants/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,27 @@
from ..units.units import eplus, joule, kelvin, m, mole, s

__all__ = (
"m",
"s",
"eplus",
"mole",
"joule",
"kelvin",
"Avogadro",
"c_light",
"c_light_sq",
"pi",
"two_pi",
"half_pi",
"pi_sq",
"eminus",
"e_sq",
"Avogadro",
"eminus",
"eplus",
"h_Planck",
"hbar_Planck",
"half_pi",
"hbar",
"hbar_Planck",
"hbarc",
"hbarc_sq",
"joule",
"k_Boltzmann",
"kelvin",
"m",
"mole",
"pi",
"pi_sq",
"s",
"two_pi",
)


Expand Down
Loading

0 comments on commit c11cb12

Please sign in to comment.