refactor: added config file and moved constants #9
Reference in New Issue
Block a user
Delete Branch "refactor/config-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Moved hardcoded configuration constants to a dedicated config.py file.
Before accepting merge request please check the following points:
ref: N25B-236
assigned to @8464960
requested review from @0950726
added 1 commit
03519e2a- test: fix microphone interactive testCompare with previous version
(there's a blank first line)
Not used
Style says we need two lines between classes and functions.
Here I suggest replacing the single blank line with two blank lines, but the GitLab preview is not showing it correctly. If you accept this change, make sure it actually becomes two blank lines instead of zero.
marked the checklist item All tests pass and code runs as expected as completed
Line too long
marked the checklist item All hard coded constants (magic numbers) are moved to the config file (src/robot_interface/core/config.py) as completed
marked the checklist item You think the way the constants are written in the config file makes sense (is different than in cb, because we use python 2.7 here) as completed
approved this merge request
resolved all threads
resolved all threads
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
changed this line in version 4 of the diff
added 1 commit
16b64e41- style: applied style suggestionsCompare with previous version
added 1 commit
c691e279- style: two lines between top level declarationsCompare with previous version
approved this merge request
mentioned in commit
b05aa5e834