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

Add numeric_bounds function, and do some related refactoring #62

Merged
merged 9 commits into from
Dec 6, 2023

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    6885d0b View commit details
    Browse the repository at this point in the history
  2. Use absolute and relative imports as per PEP8

    Absolute imports are the Pythonic recommendation in general.
    However, for the toplevel __init__.py, relative imports are
    acceptable, and perhaps even preferred for succinectness.
    ctrueden committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    c1ebb21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c6de23 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ec51478 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    91d9733 View commit details
    Browse the repository at this point in the history
  6. Stop using infinity for float/double bounds

    Instead, we use Float/Double.MAX_VALUE.
    ctrueden committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    33c4ea1 View commit details
    Browse the repository at this point in the history
  7. Make the linter happy

    ctrueden committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1b47291 View commit details
    Browse the repository at this point in the history
  8. Ignore F401 in __init__.py

    Because the nicest modular Pythonic design is to import all your public
    API from supporting files into __init__.py, so they are available from
    the toplevel, and we don't want flake8 yelling at us about it.
    
    Thanks to @gselzer and https://stackoverflow.com/a/58029222/1207769.
    ctrueden committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    ec6a1ab View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    112c4bd View commit details
    Browse the repository at this point in the history