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

Observable_interval function added and months_observable aliased #531

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Nov 2, 2022

  1. added observable_interval func

    added a generic function of `months_observable` called `observable_interval` that takes 'days','weeks',or 'months' and returns the same results.
    tygger7 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    bdc099a View commit details
    Browse the repository at this point in the history
  2. _current_year_time_range fix

    old version was not including the 31st of December in its calculations for `months_observable`.
    This was the only function to use this, so it is an easy update, and with `observable_interval` added is needed.
    tygger7 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    64c98d9 View commit details
    Browse the repository at this point in the history
  3. observable_interval aliases + output readability update

    Made `months_observable` an alias of `observable_interval` to maintain backwards compatibility. Also added `weeks_observable` and `days_observable` aliases.
    
    I also made a small change to `observable_interval` to enhance output readability in the case a target is never visible given the constraints. (would have been "set()" now is "{}")
    tygger7 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    7f57b04 View commit details
    Browse the repository at this point in the history
  4. docstring clean-up

    tygger7 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    482780b View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. code style changes for tox checks

    fixed the issues that were noted with the tox check
    tygger7 committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    7d42c9d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. code style updates

    minor white space errors removed in aliased functions and between aliased function
    tygger7 committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    dd6d9da View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Configuration menu
    Copy the full SHA
    c312f5a View commit details
    Browse the repository at this point in the history