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

Extending classes no dir #142

Merged
merged 7 commits into from
Sep 2, 2024
Merged

Extending classes no dir #142

merged 7 commits into from
Sep 2, 2024

Conversation

khalford
Copy link
Member

@khalford khalford commented Jun 12, 2024

This branch extends the current classes and improves the code readability using dataclasses.

The pylint errors here are fixed in #143

@meoflynn
Copy link
Contributor

meoflynn commented Jun 17, 2024

Does this PR require #143 to be merged first, or does this PR need to be merged first?

@khalford
Copy link
Member Author

Does this PR require #143 to be merged first, or does this PR need to be merged first?

In theory it's either or. I am not sure which would be easier to merge. I would merge this first

Copy link
Contributor

@anish-mudaraddi anish-mudaraddi left a comment

Choose a reason for hiding this comment

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

small nitpicks

@anish-mudaraddi anish-mudaraddi mentioned this pull request Jun 24, 2024
This fixes the codes import errors an enables it to run. However, pylint will error saying it cannot import, which is less of a priority than the code running.
Inheriting from "Exception" is still broad and we can use specific exceptions for more detail
Slack and GitHub classes have been broken down into further classes to help atomise the module. Also, moved to use data classes over dictionaries as they make the code much cleaner read and easier to work with.
Changes to how default values are handled and docstrings
@khalford khalford merged commit d1186a6 into master Sep 2, 2024
4 of 6 checks passed
@khalford khalford deleted the extending_classes_no_dir branch September 20, 2024 10:42
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