Skip to content

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

Merged
astrochun merged 11 commits into
mainfrom
53_refactor
Jun 22, 2021
Merged

Main module is too large, refactor for easier readability#55
astrochun merged 11 commits into
mainfrom
53_refactor

Conversation

@astrochun

Copy link
Copy Markdown
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

@astrochun astrochun left a comment

Copy link
Copy Markdown
Owner Author

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