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

grass.script: Make grass_path keyword only in init #3689

Merged
merged 1 commit into from
May 9, 2024

Commits on May 7, 2024

  1. grass.script: Make grass_path keyword only in init

    This makes the grass_path parameter a keyword-only argument (PEP 3102). While this technically breaks the 8.0 API for 8.4, the documentation only shows grass_path as a keyword argument, grass_path is required to be a keyword argument when location and mapset are omitted, and given the automation triggered by grass_path=None, any usage of grass_path is likely limited (the usage would have to be as positional argument to trigger the incompatibility).
    wenzeslaus authored and echoix committed May 7, 2024
    Configuration menu
    Copy the full SHA
    4543585 View commit details
    Browse the repository at this point in the history