Skip to content

Add type hints for settings module#3267

Merged
justinmayer merged 1 commit into
getpelican:masterfrom
bjoernricks:setting-types
Jan 17, 2024
Merged

Add type hints for settings module#3267
justinmayer merged 1 commit into
getpelican:masterfrom
bjoernricks:setting-types

Conversation

@bjoernricks

@bjoernricks bjoernricks commented Dec 17, 2023

Copy link
Copy Markdown
Contributor

Types make it easier to understand the code and improve autocompletion in IDEs.

Pull Request Checklist

  • Ensured tests pass and (if applicable) updated functional test output
  • Conformed to code style guidelines by running appropriate linting tools

While reading pelican's code I just added some type hints. If accepted I can upload more PRs for additional type hint.

Comment thread pelican/settings.py Outdated
Types make it easier to understand the code and improve autocompletion
in IDEs.
@bjoernricks

Copy link
Copy Markdown
Contributor Author

@avaris could you approve the workflow to be run. I guess that's missing for merging the PR.

@justinmayer justinmayer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks to @bjoernricks for the enhancement and to @avaris for reviewing ✨

@justinmayer justinmayer merged commit def0899 into getpelican:master Jan 17, 2024
@bjoernricks bjoernricks deleted the setting-types branch January 18, 2024 07:46
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

Successfully merging this pull request may close these issues.

3 participants