-
Notifications
You must be signed in to change notification settings - Fork 244
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
added constants package for all constants #2076
base: dev
Are you sure you want to change the base?
added constants package for all constants #2076
Conversation
Took all the (inner) classes in BE consts + constants.py and split/put them in dedicated .py files, one for each class (except for inner classes in BE consts)
Codecov Report
@@ Coverage Diff @@
## dev #2076 +/- ##
==========================================
+ Coverage 51.85% 52.36% +0.51%
==========================================
Files 100 110 +10
Lines 7942 8059 +117
==========================================
+ Hits 4118 4220 +102
- Misses 3824 3839 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@shaysw looks good, there is a small conflict in user_system/api.py file - can you resolve? |
@shaysw What do you think about that: |
from flask_babel import _ | ||
|
||
|
||
class BackEndConstants(object): |
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.
As we are doing a big change, I do not see value in having the constants in this file inside a class.
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.
Well done!
Took all the (inner) classes in BE consts + constants.py and split/put them in dedicated .py files, one for each class (except for inner classes in BE consts)