Skip to content

refactor(settings): remove some calls to HathorSettings #920

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

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

glevco
Copy link
Contributor

@glevco glevco commented Jan 8, 2024

Motivation

Continue with settings refactors.

Acceptance Criteria

  • Remove some calls to HathorSettings(), changing them to get_global_settings().

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco added the refactor label Jan 8, 2024
@glevco glevco self-assigned this Jan 8, 2024
@glevco glevco changed the base branch from master to refactor/rename-get-settings January 8, 2024 22:26
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7e8ec09) 85.18% compared to head (39aa104) 85.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #920      +/-   ##
==========================================
+ Coverage   85.18%   85.31%   +0.13%     
==========================================
  Files         285      285              
  Lines       22370    22368       -2     
  Branches     3371     3371              
==========================================
+ Hits        19055    19083      +28     
+ Misses       2641     2619      -22     
+ Partials      674      666       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@glevco glevco changed the title Refactor/settings/remove global usages refactor(settings): remove some calls to HathorSettings Jan 8, 2024
@glevco glevco marked this pull request as ready for review January 8, 2024 23:39
msbrogli
msbrogli previously approved these changes Jan 12, 2024
jansegre
jansegre previously approved these changes Jan 13, 2024
@glevco glevco force-pushed the refactor/rename-get-settings branch from 28d38c0 to b4fd2a2 Compare January 15, 2024 18:44
@glevco glevco force-pushed the refactor/settings/remove-global-usages branch from c8026ec to 76855c0 Compare January 15, 2024 18:46
@glevco glevco force-pushed the refactor/rename-get-settings branch from b4fd2a2 to 273d228 Compare January 16, 2024 21:34
Base automatically changed from refactor/rename-get-settings to master January 16, 2024 22:39
@glevco glevco dismissed stale reviews from jansegre and msbrogli January 16, 2024 22:39

The base branch was changed.

@glevco glevco force-pushed the refactor/settings/remove-global-usages branch from 76855c0 to 39aa104 Compare January 17, 2024 14:59
@glevco glevco merged commit eaf76bd into master Jan 17, 2024
@glevco glevco deleted the refactor/settings/remove-global-usages branch January 17, 2024 16:04
@jansegre jansegre mentioned this pull request Jan 30, 2024
2 tasks
@jansegre jansegre mentioned this pull request Feb 26, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants