-
Notifications
You must be signed in to change notification settings - Fork 6
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
CREATED NEW CONTROLLERS, OPTIMIZED EXISTING CODE #25
Conversation
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
pep8
digitalpy/core/component_management/controllers/component_management_general_controller.py|41 col 30| WPS305 Found f
string
digitalpy/core/component_management/controllers/component_management_general_controller.py|44 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/component_management/controllers/component_management_general_controller.py|45 col 1| D205 1 blank line required between summary line and description
digitalpy/core/component_management/controllers/component_management_general_controller.py|45 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|45 col 1| DAR101 Missing parameter(s) in Docstring: - component_data
digitalpy/core/component_management/controllers/component_management_general_controller.py|45 col 1| DAR101 Missing parameter(s) in Docstring: - component_id
digitalpy/core/component_management/controllers/component_management_general_controller.py|48 col 80| E501 line too long (83 > 79 characters)
digitalpy/core/component_management/controllers/component_management_general_controller.py|66 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|66 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|66 col 1| DAR101 Missing parameter(s) in Docstring: - component_name
digitalpy/core/component_management/controllers/component_management_general_controller.py|76 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|79 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|89 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|89 col 1| DAR101 Missing parameter(s) in Docstring: - component_name
digitalpy/core/component_management/controllers/component_management_general_controller.py|96 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/component_management/controllers/component_management_general_controller.py|106 col 5| F811 redefinition of unused 'start_component' from line 38
digitalpy/core/component_management/controllers/component_management_general_controller.py|106 col 5| WPS440 Found block variables overlap: start_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|107 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|107 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|108 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|110 col 5| F811 redefinition of unused 'stop_component' from line 65
digitalpy/core/component_management/controllers/component_management_general_controller.py|110 col 5| WPS440 Found block variables overlap: stop_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|111 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|111 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|112 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|114 col 5| F811 redefinition of unused 'restart_component' from line 32
digitalpy/core/component_management/controllers/component_management_general_controller.py|114 col 5| WPS440 Found block variables overlap: restart_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|115 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|116 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|119 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|119 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/component_management/controllers/component_management_general_controller.py|120 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|122 col 5| F811 redefinition of unused 'register_component' from line 28
digitalpy/core/component_management/controllers/component_management_general_controller.py|122 col 5| WPS440 Found block variables overlap: register_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|123 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|123 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|124 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|126 col 5| F811 redefinition of unused 'list_components' from line 25
digitalpy/core/component_management/controllers/component_management_general_controller.py|126 col 5| WPS440 Found block variables overlap: list_components
digitalpy/core/component_management/controllers/component_management_general_controller.py|127 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|127 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|128 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| F811 redefinition of unused 'get_component_info' from line 19
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| WPS463 Found a getter without a return value
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| WPS440 Found block variables overlap: get_component_info
digitalpy/core/component_management/controllers/component_management_general_controller.py|131 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|131 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|132 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|134 col 5| F811 redefinition of unused 'update_component' from line 44
digitalpy/core/component_management/controllers/component_management_general_controller.py|134 col 5| WPS440 Found block variables overlap: update_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|135 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|135 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|136 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|10 col 1| I001 isort found an import in the wrong position
digitalpy/core/component_management/controllers/component_management_controller.py|10 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/component_management/controllers/component_management_controller.py|17 col 1| D107 Missing docstring in init
digitalpy/core/component_management/controllers/component_management_controller.py|18 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| DAR101 Missing parameter(s) in Docstring: - method
digitalpy/core/component_management/controllers/component_management_controller.py|22 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D205 1 blank line required between summary line and description
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/component_management/controllers/component_management_controller.py|28 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/logic/base/logic_action_mapper.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/logic/base/logic_action_mapper.py|1 col 1| I001 isort found an import in the wrong position
digitalpy/core/logic/base/logic_action_mapper.py|1 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/base/logic_action_mapper.py|8 col 43| W291 trailing whitespace
digitalpy/core/logic/base/logic_action_mapper.py|8 col 45| W292 no newline at end of file
digitalpy/core/logic/controllers/logic_sender_controller.py|17 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_sender_controller.py|17 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|20 col 80| E501 line too long (120 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|24 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|25 col 80| E501 line too long (103 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|26 col 80| E501 line too long (139 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|27 col 80| E501 line too long (112 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|29 col 80| E501 line too long (118 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|42 col 1| DAR103 Parameter type mismatch: ~method: expected str but was str, optional
digitalpy/core/logic/controllers/logic_controller.py|10 col 1| I001 isort found an import in the wrong position
digitalpy/core/logic/controllers/logic_controller.py|10 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_controller.py|19 col 34| E252 missing whitespace around parameter equals
digitalpy/core/logic/controllers/logic_controller.py|19 col 35| E252 missing whitespace around parameter equals
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_controller.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/controllers/logic_controller.py|23 col 1| DAR103 Parameter type mismatch: ~method: expected str but was str, optional
digitalpy/core/logic/controllers/logic_controller.py|23 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D205 1 blank line required between summary line and description
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D401 First line should be in imperative mood
digitalpy/core/logic/controllers/logic_controller.py|28 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|31 col 1| W293 blank line contains whitespace
digitalpy/core/logic/controllers/logic_general_controller.py|19 col 80| E501 line too long (120 > 79 characters)
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - action_mapper
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - configuration
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - response
digitalpy/core/logic/controllers/logic_general_controller.py|23 col 29| E251 unexpected spaces around keyword / parameter equals
digitalpy/core/logic/controllers/logic_general_controller.py|23 col 31| E251 unexpected spaces around keyword / parameter equals
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| DAR201 Missing "Returns" in Docstring: - return
digitalpy/core/logic/controllers/logic_general_controller.py|27 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|5 col 1| I004 isort found an unexpected blank line in imports
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D204 1 blank line required after class docstring
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 80| E501 line too long (110 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/impl/default_business_rule_controller.py|26 col 80| E501 line too long (110 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|27 col 80| E501 line too long (95 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|34 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|34 col 62| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|35 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|35 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|38 col 1| DAR103 Parameter type mismatch: ~business_rules_path: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|38 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|50 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|50 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|51 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/impl/default_business_rule_controller.py|53 col 1| DAR103 Parameter type mismatch: ~rule_dict: expected dict but was dict, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|53 col 80| E501 line too long (133 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|54 col 80| E501 line too long (89 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|66 col 5| E301 expected 1 blank line, found 0
digitalpy/core/logic/impl/default_business_rule_controller.py|69 col 39| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 94| F821 undefined name 'Resolver'
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 94| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|77 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|77 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|80 col 80| E501 line too long (104 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|82 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D202 No blank lines allowed after function docstring
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|95 col 80| E501 line too long (104 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|99 col 80| E501 line too long (96 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|102 col 80| E501 line too long (102 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| W191 indentation contains tabs
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| E101 indentation contains mixed spaces and tabs
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| W293 blank line contains whitespace
digitalpy/core/logic/impl/default_business_rule_controller.py|124 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|124 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|129 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|132 col 27| WPS529 Found implicit .get()
dict usage
digitalpy/core/logic/impl/default_business_rule_controller.py|132 col 37| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|140 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|141 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 24| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 41| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 42| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 60| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 78| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 79| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 80| E501 line too long (131 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 85| WPS110 Found wrong variable name: values
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 96| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 97| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 103| WPS125 Found builtin shadowing: format
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 114| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 115| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|145 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|145 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|148 col 1| DAR103 Parameter type mismatch: ~sender: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|148 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|149 col 1| DAR103 Parameter type mismatch: ~context: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|149 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|150 col 1| DAR103 Parameter type mismatch: ~action: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|150 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|151 col 1| DAR103 Parameter type mismatch: ~values: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|151 col 80| E501 line too long (118 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|152 col 1| DAR103 Parameter type mismatch: ~format: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|152 col 80| E501 line too long (121 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|157 col 55| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 25| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 42| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 43| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 62| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 79| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 80| E501 line too long (133 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 80| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 86| WPS110 Found wrong variable name: values
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 97| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 98| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 104| WPS125 Found builtin shadowing: format
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 115| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 116| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|166 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|166 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|169 col 1| DAR103 Parameter type mismatch: ~sender: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|169 col 80| E501 line too long (99 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|170 col 1| DAR103 Parameter type mismatch: ~context: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|170 col 80| E501 line too long (83 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|171 col 1| DAR103 Parameter type mismatch: ~action: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|171 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|172 col 1| DAR103 Parameter type mismatch: ~values: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|172 col 80| E501 line too long (119 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|173 col 1| DAR103 Parameter type mismatch: ~format: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|173 col 80| E501 line too long (121 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|175 col 1| DAR203 Return type mismatch: ~Return: expected Response but was response
digitalpy/core/logic/impl/default_business_rule_controller.py|178 col 57| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|187 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|187 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|192 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|193 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 22| WPS110 Found wrong variable name: value
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 31| WPS529 Found implicit .get()
dict usage
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 41| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|198 col 80| E501 line too long (101 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|201 col 1| D102 Missing docstring in public method
digitalpy/core/logic/impl/default_business_rule_controller.py|202 col 80| E501 line too long (91 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|204 col 80| E501 line too long (82 > 79 characters)
@@ -1,6 +1,6 @@ | |||
from Catalog.Data.Domain.FTS_Model.Facade import Facade | |||
from digitalpy.core.component_management.impl.default_facade import DefaultFacade |
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.
[pep8] reported by reviewdog 🐶
D100 Missing docstring in public module
@@ -1,6 +1,6 @@ | |||
from Catalog.Data.Domain.FTS_Model.Facade import Facade | |||
from digitalpy.core.component_management.impl.default_facade import DefaultFacade |
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.
[pep8] reported by reviewdog 🐶
I001 isort found an import in the wrong position
@@ -1,6 +1,6 @@ | |||
from Catalog.Data.Domain.FTS_Model.Facade import Facade | |||
from digitalpy.core.component_management.impl.default_facade import DefaultFacade |
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.
[pep8] reported by reviewdog 🐶
E501 line too long (81 > 79 characters)
|
||
class ComponentManagementFacade(Facade, Facade): | ||
class ComponentManagementFacade(DefaultFacade): |
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.
[pep8] reported by reviewdog 🐶
WPS230 Found too many public instance attributes: 8 > 6
|
||
class ComponentManagementFacade(Facade, Facade): | ||
class ComponentManagementFacade(DefaultFacade): |
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.
[pep8] reported by reviewdog 🐶
E302 expected 2 blank lines, found 1
component = Component.from_dict(component_info) | ||
self.component_registry.add_component(component) | ||
|
||
def restart_component(self, component_id: str) -> None: |
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.
[pep8] reported by reviewdog 🐶
D102 Missing docstring in public method
def restart_component(self, component_id: str) -> None: | ||
component = self.component_registry.get_component(component_id) | ||
if component is None: | ||
raise ValueError(f"Component with ID {component_id} not found") |
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.
[pep8] reported by reviewdog 🐶
Q000 Double quotes found but single quotes preferred
def restart_component(self, component_id: str) -> None: | ||
component = self.component_registry.get_component(component_id) | ||
if component is None: | ||
raise ValueError(f"Component with ID {component_id} not found") |
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.
[pep8] reported by reviewdog 🐶
WPS305 Found f
string
raise ValueError(f"Component with ID {component_id} not found") | ||
component.restart() | ||
|
||
def start_component(self, component_id: str) -> None: |
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.
[pep8] reported by reviewdog 🐶
D102 Missing docstring in public method
def start_component(self, component_id: str) -> None: | ||
component = self.component_registry.get_component(component_id) | ||
if component is None: | ||
raise ValueError(f"Component with ID {component_id} not found") |
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.
[pep8] reported by reviewdog 🐶
Q000 Double quotes found but single quotes preferred
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
pep8
digitalpy/core/component_management/controllers/component_management_general_controller.py|119 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/component_management/controllers/component_management_general_controller.py|120 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|122 col 5| F811 redefinition of unused 'register_component' from line 28
digitalpy/core/component_management/controllers/component_management_general_controller.py|122 col 5| WPS440 Found block variables overlap: register_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|123 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|123 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|124 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|126 col 5| F811 redefinition of unused 'list_components' from line 25
digitalpy/core/component_management/controllers/component_management_general_controller.py|126 col 5| WPS440 Found block variables overlap: list_components
digitalpy/core/component_management/controllers/component_management_general_controller.py|127 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|127 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|128 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| F811 redefinition of unused 'get_component_info' from line 19
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| WPS463 Found a getter without a return value
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/component_management/controllers/component_management_general_controller.py|130 col 5| WPS440 Found block variables overlap: get_component_info
digitalpy/core/component_management/controllers/component_management_general_controller.py|131 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|131 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|132 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_general_controller.py|134 col 5| F811 redefinition of unused 'update_component' from line 44
digitalpy/core/component_management/controllers/component_management_general_controller.py|134 col 5| WPS440 Found block variables overlap: update_component
digitalpy/core/component_management/controllers/component_management_general_controller.py|135 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_general_controller.py|135 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_general_controller.py|136 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|10 col 1| I001 isort found an import in the wrong position
digitalpy/core/component_management/controllers/component_management_controller.py|10 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/component_management/controllers/component_management_controller.py|17 col 1| D107 Missing docstring in init
digitalpy/core/component_management/controllers/component_management_controller.py|18 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| DAR101 Missing parameter(s) in Docstring: - method
digitalpy/core/component_management/controllers/component_management_controller.py|22 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D205 1 blank line required between summary line and description
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/component_management/controllers/component_management_controller.py|28 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/logic/base/logic_action_mapper.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/logic/base/logic_action_mapper.py|1 col 1| I001 isort found an import in the wrong position
digitalpy/core/logic/base/logic_action_mapper.py|1 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/base/logic_action_mapper.py|8 col 43| W291 trailing whitespace
digitalpy/core/logic/base/logic_action_mapper.py|8 col 45| W292 no newline at end of file
digitalpy/core/logic/controllers/logic_sender_controller.py|17 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_sender_controller.py|17 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|20 col 80| E501 line too long (120 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|24 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|25 col 80| E501 line too long (103 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|26 col 80| E501 line too long (139 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|27 col 80| E501 line too long (112 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|29 col 80| E501 line too long (118 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|42 col 1| DAR103 Parameter type mismatch: ~method: expected str but was str, optional
digitalpy/core/logic/controllers/logic_controller.py|10 col 1| I001 isort found an import in the wrong position
digitalpy/core/logic/controllers/logic_controller.py|10 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_controller.py|19 col 34| E252 missing whitespace around parameter equals
digitalpy/core/logic/controllers/logic_controller.py|19 col 35| E252 missing whitespace around parameter equals
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_controller.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/controllers/logic_controller.py|23 col 1| DAR103 Parameter type mismatch: ~method: expected str but was str, optional
digitalpy/core/logic/controllers/logic_controller.py|23 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D205 1 blank line required between summary line and description
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D401 First line should be in imperative mood
digitalpy/core/logic/controllers/logic_controller.py|28 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|31 col 1| W293 blank line contains whitespace
digitalpy/core/logic/controllers/logic_general_controller.py|19 col 80| E501 line too long (120 > 79 characters)
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - action_mapper
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - configuration
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - response
digitalpy/core/logic/controllers/logic_general_controller.py|23 col 29| E251 unexpected spaces around keyword / parameter equals
digitalpy/core/logic/controllers/logic_general_controller.py|23 col 31| E251 unexpected spaces around keyword / parameter equals
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| DAR201 Missing "Returns" in Docstring: - return
digitalpy/core/logic/controllers/logic_general_controller.py|27 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|5 col 1| I004 isort found an unexpected blank line in imports
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D204 1 blank line required after class docstring
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 80| E501 line too long (110 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/impl/default_business_rule_controller.py|26 col 80| E501 line too long (110 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|27 col 80| E501 line too long (95 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|34 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|34 col 62| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|35 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|35 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|38 col 1| DAR103 Parameter type mismatch: ~business_rules_path: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|38 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|50 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|50 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|51 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/impl/default_business_rule_controller.py|53 col 1| DAR103 Parameter type mismatch: ~rule_dict: expected dict but was dict, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|53 col 80| E501 line too long (133 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|54 col 80| E501 line too long (89 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|66 col 5| E301 expected 1 blank line, found 0
digitalpy/core/logic/impl/default_business_rule_controller.py|69 col 39| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 94| F821 undefined name 'Resolver'
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 94| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|77 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|77 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|80 col 80| E501 line too long (104 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|82 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D202 No blank lines allowed after function docstring
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|95 col 80| E501 line too long (104 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|99 col 80| E501 line too long (96 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|102 col 80| E501 line too long (102 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| W191 indentation contains tabs
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| E101 indentation contains mixed spaces and tabs
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| W293 blank line contains whitespace
digitalpy/core/logic/impl/default_business_rule_controller.py|124 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|124 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|129 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|132 col 27| WPS529 Found implicit .get()
dict usage
digitalpy/core/logic/impl/default_business_rule_controller.py|132 col 37| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|140 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|141 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 24| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 41| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 42| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 60| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 78| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 79| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 80| E501 line too long (131 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 85| WPS110 Found wrong variable name: values
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 96| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 97| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 103| WPS125 Found builtin shadowing: format
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 114| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 115| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|145 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|145 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|148 col 1| DAR103 Parameter type mismatch: ~sender: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|148 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|149 col 1| DAR103 Parameter type mismatch: ~context: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|149 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|150 col 1| DAR103 Parameter type mismatch: ~action: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|150 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|151 col 1| DAR103 Parameter type mismatch: ~values: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|151 col 80| E501 line too long (118 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|152 col 1| DAR103 Parameter type mismatch: ~format: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|152 col 80| E501 line too long (121 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|157 col 55| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 25| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 42| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 43| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 62| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 79| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 80| E501 line too long (133 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 80| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 86| WPS110 Found wrong variable name: values
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 97| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 98| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 104| WPS125 Found builtin shadowing: format
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 115| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 116| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|166 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|166 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|169 col 1| DAR103 Parameter type mismatch: ~sender: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|169 col 80| E501 line too long (99 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|170 col 1| DAR103 Parameter type mismatch: ~context: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|170 col 80| E501 line too long (83 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|171 col 1| DAR103 Parameter type mismatch: ~action: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|171 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|172 col 1| DAR103 Parameter type mismatch: ~values: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|172 col 80| E501 line too long (119 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|173 col 1| DAR103 Parameter type mismatch: ~format: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|173 col 80| E501 line too long (121 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|175 col 1| DAR203 Return type mismatch: ~Return: expected Response but was response
digitalpy/core/logic/impl/default_business_rule_controller.py|178 col 57| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|187 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|187 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|192 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|193 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 22| WPS110 Found wrong variable name: value
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 31| WPS529 Found implicit .get()
dict usage
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 41| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|198 col 80| E501 line too long (101 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|201 col 1| D102 Missing docstring in public method
digitalpy/core/logic/impl/default_business_rule_controller.py|202 col 80| E501 line too long (91 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|204 col 80| E501 line too long (82 > 79 characters)
def start_component(self, component_id: str) -> None: | ||
component = self.component_registry.get_component(component_id) | ||
if component is None: | ||
raise ValueError(f"Component with ID {component_id} not found") |
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.
[pep8] reported by reviewdog 🐶
WPS305 Found f
string
raise ValueError(f"Component with ID {component_id} not found") | ||
component.start() | ||
|
||
def update_component(self, component_id: str, component_data: Dict[str, Any]): |
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.
[pep8] reported by reviewdog 🐶
E501 line too long (82 > 79 characters)
component.start() | ||
|
||
def update_component(self, component_id: str, component_data: Dict[str, Any]): | ||
"""Updates the information of an existing component. |
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.
[pep8] reported by reviewdog 🐶
D205 1 blank line required between summary line and description
component.start() | ||
|
||
def update_component(self, component_id: str, component_data: Dict[str, Any]): | ||
"""Updates the information of an existing component. |
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.
[pep8] reported by reviewdog 🐶
D401 First line should be in imperative mood
component.start() | ||
|
||
def update_component(self, component_id: str, component_data: Dict[str, Any]): | ||
"""Updates the information of an existing component. |
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.
[pep8] reported by reviewdog 🐶
DAR101 Missing parameter(s) in Docstring: - component_data
"""Stops a specific component""" | ||
pass | ||
|
||
def restart_component(self): |
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.
[pep8] reported by reviewdog 🐶
F811 redefinition of unused 'restart_component' from line 32
"""Stops a specific component""" | ||
pass | ||
|
||
def restart_component(self): |
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.
[pep8] reported by reviewdog 🐶
WPS440 Found block variables overlap: restart_component
pass | ||
|
||
def restart_component(self): | ||
"""Restarts a specific component""" |
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.
[pep8] reported by reviewdog 🐶
D400 First line should end with a period
|
||
def restart_component(self): | ||
"""Restarts a specific component""" | ||
pass |
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.
[pep8] reported by reviewdog 🐶
WPS420 Found wrong keyword: pass
pass | ||
|
||
def component_discovery(self): | ||
"""discover all the installed components""" |
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.
[pep8] reported by reviewdog 🐶
D400 First line should end with a period
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
pep8
digitalpy/core/component_management/controllers/component_management_controller.py|10 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/component_management/controllers/component_management_controller.py|17 col 1| D107 Missing docstring in init
digitalpy/core/component_management/controllers/component_management_controller.py|18 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/component_management/controllers/component_management_controller.py|21 col 1| DAR101 Missing parameter(s) in Docstring: - method
digitalpy/core/component_management/controllers/component_management_controller.py|22 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D205 1 blank line required between summary line and description
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D400 First line should end with a period
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 1| D401 First line should be in imperative mood
digitalpy/core/component_management/controllers/component_management_controller.py|25 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/component_management/controllers/component_management_controller.py|28 col 9| WPS420 Found wrong keyword: pass
digitalpy/core/logic/base/logic_action_mapper.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/logic/base/logic_action_mapper.py|1 col 1| I001 isort found an import in the wrong position
digitalpy/core/logic/base/logic_action_mapper.py|1 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/base/logic_action_mapper.py|8 col 43| W291 trailing whitespace
digitalpy/core/logic/base/logic_action_mapper.py|8 col 45| W292 no newline at end of file
digitalpy/core/logic/controllers/logic_sender_controller.py|17 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_sender_controller.py|17 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|20 col 80| E501 line too long (120 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|21 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|24 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|25 col 80| E501 line too long (103 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|26 col 80| E501 line too long (139 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|27 col 80| E501 line too long (112 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|29 col 80| E501 line too long (118 > 79 characters)
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|32 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_sender_controller.py|39 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_sender_controller.py|42 col 1| DAR103 Parameter type mismatch: ~method: expected str but was str, optional
digitalpy/core/logic/controllers/logic_controller.py|10 col 1| I001 isort found an import in the wrong position
digitalpy/core/logic/controllers/logic_controller.py|10 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_controller.py|16 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_controller.py|19 col 34| E252 missing whitespace around parameter equals
digitalpy/core/logic/controllers/logic_controller.py|19 col 35| E252 missing whitespace around parameter equals
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_controller.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_controller.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/controllers/logic_controller.py|23 col 1| DAR103 Parameter type mismatch: ~method: expected str but was str, optional
digitalpy/core/logic/controllers/logic_controller.py|23 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D205 1 blank line required between summary line and description
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_controller.py|28 col 1| D401 First line should be in imperative mood
digitalpy/core/logic/controllers/logic_controller.py|28 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/logic/controllers/logic_controller.py|31 col 1| W293 blank line contains whitespace
digitalpy/core/logic/controllers/logic_general_controller.py|19 col 80| E501 line too long (120 > 79 characters)
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - action_mapper
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - configuration
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/logic/controllers/logic_general_controller.py|20 col 1| DAR101 Missing parameter(s) in Docstring: - response
digitalpy/core/logic/controllers/logic_general_controller.py|23 col 29| E251 unexpected spaces around keyword / parameter equals
digitalpy/core/logic/controllers/logic_general_controller.py|23 col 31| E251 unexpected spaces around keyword / parameter equals
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D400 First line should end with a period
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/controllers/logic_general_controller.py|24 col 1| DAR201 Missing "Returns" in Docstring: - return
digitalpy/core/logic/controllers/logic_general_controller.py|27 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|5 col 1| I004 isort found an unexpected blank line in imports
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D204 1 blank line required after class docstring
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|15 col 80| E501 line too long (110 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|23 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/impl/default_business_rule_controller.py|26 col 80| E501 line too long (110 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|27 col 80| E501 line too long (95 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|34 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|34 col 62| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|35 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|35 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|38 col 1| DAR103 Parameter type mismatch: ~business_rules_path: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|38 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|50 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|50 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|51 col 1| DAR101 Missing parameter(s) in Docstring: - **kwargs
digitalpy/core/logic/impl/default_business_rule_controller.py|53 col 1| DAR103 Parameter type mismatch: ~rule_dict: expected dict but was dict, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|53 col 80| E501 line too long (133 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|54 col 80| E501 line too long (89 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|66 col 5| E301 expected 1 blank line, found 0
digitalpy/core/logic/impl/default_business_rule_controller.py|69 col 39| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 94| F821 undefined name 'Resolver'
digitalpy/core/logic/impl/default_business_rule_controller.py|76 col 94| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|77 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|77 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|80 col 80| E501 line too long (104 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|82 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D202 No blank lines allowed after function docstring
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|92 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|95 col 80| E501 line too long (104 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|99 col 80| E501 line too long (96 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|102 col 80| E501 line too long (102 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| W191 indentation contains tabs
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| E101 indentation contains mixed spaces and tabs
digitalpy/core/logic/impl/default_business_rule_controller.py|122 col 1| W293 blank line contains whitespace
digitalpy/core/logic/impl/default_business_rule_controller.py|124 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|124 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|129 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|132 col 27| WPS529 Found implicit .get()
dict usage
digitalpy/core/logic/impl/default_business_rule_controller.py|132 col 37| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|140 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|141 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 24| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 41| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 42| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 60| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 78| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 79| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 80| E501 line too long (131 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 85| WPS110 Found wrong variable name: values
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 96| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 97| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 103| WPS125 Found builtin shadowing: format
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 114| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|144 col 115| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|145 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|145 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|148 col 1| DAR103 Parameter type mismatch: ~sender: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|148 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|149 col 1| DAR103 Parameter type mismatch: ~context: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|149 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|150 col 1| DAR103 Parameter type mismatch: ~action: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|150 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|151 col 1| DAR103 Parameter type mismatch: ~values: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|151 col 80| E501 line too long (118 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|152 col 1| DAR103 Parameter type mismatch: ~format: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|152 col 80| E501 line too long (121 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|157 col 55| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 25| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 42| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 43| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 61| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 62| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 79| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 80| E501 line too long (133 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 80| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 86| WPS110 Found wrong variable name: values
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 97| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 98| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 104| WPS125 Found builtin shadowing: format
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 115| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|165 col 116| E252 missing whitespace around parameter equals
digitalpy/core/logic/impl/default_business_rule_controller.py|166 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|166 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|169 col 1| DAR103 Parameter type mismatch: ~sender: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|169 col 80| E501 line too long (99 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|170 col 1| DAR103 Parameter type mismatch: ~context: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|170 col 80| E501 line too long (83 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|171 col 1| DAR103 Parameter type mismatch: ~action: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|171 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|172 col 1| DAR103 Parameter type mismatch: ~values: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|172 col 80| E501 line too long (119 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|173 col 1| DAR103 Parameter type mismatch: ~format: expected str but was str, optional
digitalpy/core/logic/impl/default_business_rule_controller.py|173 col 80| E501 line too long (121 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|175 col 1| DAR203 Return type mismatch: ~Return: expected Response but was response
digitalpy/core/logic/impl/default_business_rule_controller.py|178 col 57| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|187 col 1| D400 First line should end with a period
digitalpy/core/logic/impl/default_business_rule_controller.py|187 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/logic/impl/default_business_rule_controller.py|192 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|193 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 22| WPS110 Found wrong variable name: value
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 31| WPS529 Found implicit .get()
dict usage
digitalpy/core/logic/impl/default_business_rule_controller.py|194 col 41| Q000 Double quotes found but single quotes preferred
digitalpy/core/logic/impl/default_business_rule_controller.py|198 col 80| E501 line too long (101 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|201 col 1| D102 Missing docstring in public method
digitalpy/core/logic/impl/default_business_rule_controller.py|202 col 80| E501 line too long (91 > 79 characters)
digitalpy/core/logic/impl/default_business_rule_controller.py|204 col 80| E501 line too long (82 > 79 characters)
@@ -1017,4 +1017,4 @@ def set_value( | |||
return result | |||
|
|||
# default behaviour | |||
return super().set_value(name, value, force_set, track_change) | |||
return super().set_value(name, value, force_set, track_change) |
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.
[pep8] reported by reviewdog 🐶
W292 no newline at end of file
@@ -137,4 +137,4 @@ def parse_oid_string(oid: str): | |||
|
|||
prefix = ObjectId.DELIMITER + oid_parts | |||
|
|||
return {"type": type, "id": ids, "prefix": prefix} | |||
return {"type": type, "id": ids, "prefix": prefix} |
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.
[pep8] reported by reviewdog 🐶
Q000 Double quotes found but single quotes preferred
@@ -137,4 +137,4 @@ def parse_oid_string(oid: str): | |||
|
|||
prefix = ObjectId.DELIMITER + oid_parts | |||
|
|||
return {"type": type, "id": ids, "prefix": prefix} | |||
return {"type": type, "id": ids, "prefix": prefix} |
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.
[pep8] reported by reviewdog 🐶
Q000 Double quotes found but single quotes preferred
@@ -137,4 +137,4 @@ def parse_oid_string(oid: str): | |||
|
|||
prefix = ObjectId.DELIMITER + oid_parts | |||
|
|||
return {"type": type, "id": ids, "prefix": prefix} | |||
return {"type": type, "id": ids, "prefix": prefix} |
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.
[pep8] reported by reviewdog 🐶
Q000 Double quotes found but single quotes preferred
@@ -137,4 +137,4 @@ def parse_oid_string(oid: str): | |||
|
|||
prefix = ObjectId.DELIMITER + oid_parts | |||
|
|||
return {"type": type, "id": ids, "prefix": prefix} | |||
return {"type": type, "id": ids, "prefix": prefix} |
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.
[pep8] reported by reviewdog 🐶
W292 no newline at end of file
"""Retrieves information about a specific component""" | ||
pass | ||
|
||
def update_component(self): |
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.
[pep8] reported by reviewdog 🐶
WPS440 Found block variables overlap: update_component
pass | ||
|
||
def update_component(self): | ||
"""Updates the information of an existing component""" |
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.
[pep8] reported by reviewdog 🐶
D400 First line should end with a period
pass | ||
|
||
def update_component(self): | ||
"""Updates the information of an existing component""" |
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.
[pep8] reported by reviewdog 🐶
D401 First line should be in imperative mood
|
||
def update_component(self): | ||
"""Updates the information of an existing component""" | ||
pass |
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.
[pep8] reported by reviewdog 🐶
WPS420 Found wrong keyword: pass
@@ -7,21 +7,22 @@ | |||
# Original author: Giu Platania | |||
# | |||
####################################################### | |||
from Catalog.Implementation.Libraries.Digitalpy.digitalpy.Async.logic.impl.default_business_rule_controller import DefaultBusinessRuleController | |||
from digitalpy.core.logic.impl.default_business_rule_controller import DefaultBusinessRuleController |
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.
[pep8] reported by reviewdog 🐶
I001 isort found an import in the wrong position
No description provided.