panoptes / panoptes-utils

A set of Astronomical utility functions. PANOPTES style. :hammer_and_wrench: :telescope: :stars:
https://panoptes-utils.readthedocs.io
MIT License
4 stars 9 forks source link

Config server host port #241

Closed wtgee closed 4 years ago

wtgee commented 4 years ago

Use environment variables to look up the config host and port in a consistent way. Uses python-dotenv.

See also https://github.com/panoptes/POCS/pull/1001

codecov[bot] commented 4 years ago

Codecov Report

Merging #241 into develop will decrease coverage by 3.05%. The diff coverage is 42.52%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #241      +/-   ##
===========================================
- Coverage    80.81%   77.76%   -3.06%     
===========================================
  Files           52       52              
  Lines         3196     3269      +73     
  Branches       287      297      +10     
===========================================
- Hits          2583     2542      -41     
- Misses         557      673     +116     
+ Partials        56       54       -2     
Impacted Files Coverage Δ
src/panoptes/utils/images/fits.py 81.53% <ø> (ø)
src/panoptes/utils/config/server.py 21.37% <8.13%> (-24.20%) :arrow_down:
tests/config/test_config_cli.py 36.11% <35.00%> (-57.64%) :arrow_down:
src/panoptes/utils/config/cli.py 46.15% <44.44%> (-33.02%) :arrow_down:
src/panoptes/utils/config/client.py 97.95% <96.15%> (-2.05%) :arrow_down:
conftest.py 91.75% <100.00%> (-1.64%) :arrow_down:
src/panoptes/utils/config/helpers.py 100.00% <100.00%> (ø)
tests/config/test_config.py 100.00% <100.00%> (ø)
tests/config/test_config_server.py 100.00% <100.00%> (ø)

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 af3bb04...d51eaa9. Read the comment docs.