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 proper type annotations to config parsing modules #30

Open
lunkwill42 opened this issue Oct 17, 2023 · 0 comments
Open

Add proper type annotations to config parsing modules #30

lunkwill42 opened this issue Oct 17, 2023 · 0 comments

Comments

@lunkwill42
Copy link
Member

          Why use docstrings when there are type annotations available?
    def update_from_args(self, args: argparse.Namespace):
        """Updates the configuration from command line arguments.
        
        arg-names not found in the config-object are ignored.
        """

Originally posted by @lunkwill42 in #22 (comment)

@hmpf claims great haste in #22 and declines adding type annotations until the API is "more stable". So, I'm adding this issue to remind us to actually do this at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant