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

Main module is too large, refactor for easier readability #55

Merged
merged 11 commits into from
Jun 22, 2021

Conversation

astrochun
Copy link
Owner

Closes #53

Commit history:

  • Refactor constants to constants.py
  • Refactor sidebar functions to sidebar module
  • Refactor data views functions to views module
  • Explicit definition of fy_select for Trends
  • Fix constants import
  • Minor docstrings update for sidebar functions
  • Update docstrings
  • Update CHANGELOG.md for v0.2.1
  • Bump version: v0.2.0 -> v0.2.1

@astrochun astrochun added this to the v0.3.0 milestone Jun 22, 2021
@astrochun astrochun self-assigned this Jun 22, 2021
Copy link
Owner Author

@astrochun astrochun left a comment

Choose a reason for hiding this comment

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

Changes look good and tested locally.

Note that streamlit does not easily support hot reload so updates to modules will not be reflected until you restart the streamlit server. There's a workaround with PYTHONPATH: https://docs.streamlit.io/en/stable/streamlit_faq.html#using-streamlit

@astrochun astrochun merged commit db57819 into main Jun 22, 2021
@astrochun astrochun deleted the 53_refactor branch June 22, 2021 04:19
@astrochun astrochun temporarily deployed to sapp4ua June 22, 2021 04:31 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Main module is too large, refactor for easier readability
1 participant