Conversation
8761ff5 to
5274b13
Compare
|
If this refactor is complete and there aren't any old import patterns I recommend adding a linter to NOTE: GitHub seems unstable (I've got a 500 error a few times trying to add this comment to an approval) |
That's a good idea, I'll make sure to do that, but it can't be done yet. There are still a lot of places to change, it'll take some other PRs to kill all usages. I'm beginning with the easy ones, but then there will be a batch of "hard" ones that have to change a bit more of logic (for example, code that uses settings to define default values for classes, etc) |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #769 +/- ##
==========================================
- Coverage 84.75% 84.71% -0.05%
==========================================
Files 259 259
Lines 21933 21931 -2
Branches 2964 2964
==========================================
- Hits 18590 18579 -11
- Misses 2700 2706 +6
- Partials 643 646 +3
☔ View full report in Codecov by Sentry. |
6cf7be9 to
def3c1c
Compare
599cc4f to
a6a965b
Compare
def3c1c to
5837030
Compare
845bf0f to
d08e2fc
Compare
d6e19ea to
ac0a152
Compare
d08e2fc to
7989b9d
Compare
ac0a152 to
2404c82
Compare
7989b9d to
ea1fe51
Compare
The base branch was changed.
ea1fe51 to
d8d5435
Compare
Depends on #768
Motivation
Please read the description on #768, this PR is just a follow-up part.
Acceptance Criteria
HathorSettings()from the module level and move it to inside functions/methodsget_settings()self._settings = get_settings()in the class'__init__(), and update all methods to use that new attributeChecklist
master, confirm this code is production-ready and can be included in future releases as soon as it gets merged