-
Notifications
You must be signed in to change notification settings - Fork 14
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
Change dir #143
Change dir #143
Conversation
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.
Changed this to fix issues with Pylint and Python importing.
With this directory structure: Pylint, Pytest and Python all show no errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I just had a question about unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed this to fix issues with Pylint and Python importing.
With this directory structure: Pylint, Pytest and Python all show no errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good - just a few nitpicks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #143 +/- ##
===========================================
- Coverage 97.20% 81.08% -16.13%
===========================================
Files 66 3 -63
Lines 3046 74 -2972
===========================================
- Hits 2961 60 -2901
+ Misses 85 14 -71
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Changed the directory structure as Pylint and Python are not importing the same as each other and one will bug out.