Skip to content
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

Service support #26

Merged
merged 7 commits into from
Jan 6, 2023
Merged

Service support #26

merged 7 commits into from
Jan 6, 2023

Conversation

brothercorvo
Copy link
Contributor

added service support to digitalpy

Copy link
Contributor

@naman108 naman108 left a 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/zmanager/integration_manager.py|56 col 80| E501 line too long (87 > 79 characters)
digitalpy/core/zmanager/integration_manager.py|58 col 21| WPS421 Found wrong function call: print
digitalpy/core/zmanager/integration_manager.py|58 col 27| P101 format string does contain unindexed parameters
digitalpy/core/zmanager/integration_manager.py|58 col 27| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/integration_manager.py|60 col 17| WPS421 Found wrong function call: print
digitalpy/core/zmanager/integration_manager.py|60 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/integration_manager.py|60 col 23| WPS336 Found explicit string concatenation
digitalpy/core/zmanager/integration_manager.py|60 col 40| W292 no newline at end of file
digitalpy/core/zmanager/subject.py|52 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/subject.py|53 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/subject.py|53 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/subject.py|53 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/zmanager/impl/default_routing_worker.py|1 col 1| F401 'typing.List' imported but unused
digitalpy/core/zmanager/impl/default_routing_worker.py|4 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/default_routing_worker.py|4 col 1| I005 isort found an unexpected missing import
digitalpy/core/zmanager/impl/default_routing_worker.py|4 col 1| I005 isort found an unexpected missing import
digitalpy/core/zmanager/impl/default_routing_worker.py|4 col 1| I005 isort found an unexpected missing import
digitalpy/core/zmanager/impl/default_routing_worker.py|4 col 1| I005 isort found an unexpected missing import
digitalpy/core/zmanager/impl/default_routing_worker.py|25 col 41| C812 missing trailing comma
digitalpy/core/zmanager/impl/default_routing_worker.py|70 col 9| WPS329 Found useless except case
digitalpy/core/zmanager/impl/default_routing_worker.py|73 col 1| D102 Missing docstring in public method
digitalpy/core/zmanager/impl/default_routing_worker.py|75 col 37| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|75 col 37| WPS336 Found explicit string concatenation
digitalpy/core/zmanager/impl/default_routing_worker.py|78 col 1| D102 Missing docstring in public method
digitalpy/core/zmanager/impl/default_routing_worker.py|79 col 44| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|79 col 44| WPS336 Found explicit string concatenation
digitalpy/core/zmanager/impl/default_routing_worker.py|79 col 76| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|79 col 80| E501 line too long (84 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|80 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/default_routing_worker.py|94 col 17| WPS125 Found builtin shadowing: format
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 35| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 35| WPS305 Found f string
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 80| E501 line too long (92 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 93| C812 missing trailing comma
digitalpy/core/zmanager/impl/default_routing_worker.py|199 col 5| WPS210 Found too many local variables: 9 > 5
digitalpy/core/zmanager/impl/default_routing_worker.py|203 col 80| E501 line too long (116 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|205 col 9| WPS229 Found too long try body length: 11 > 1
digitalpy/core/zmanager/impl/default_routing_worker.py|207 col 52| W291 trailing whitespace
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 13| WPS236 Found too many variables used to unpack a tuple: 6 > 4
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 38| WPS125 Found builtin shadowing: format
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 56| WPS110 Found wrong variable name: values
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 79| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 80| E501 line too long (86 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|212 col 54| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|214 col 46| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|215 col 48| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|216 col 46| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|217 col 46| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 13| WPS221 Found line with high Jones Complexity: 32 > 14
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 30| WPS237 Found a too complex f string
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 30| WPS305 Found f string
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 80| E501 line too long (162 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|227 col 32| W292 no newline at end of file
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 9| WPS221 Found line with high Jones Complexity: 33 > 14
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 14| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 80| E501 line too long (191 > 79 characters)
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 192| W292 no newline at end of file
digitalpy/core/zmanager/impl/zmq_pusher.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/zmanager/impl/zmq_pusher.py|2 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/zmq_pusher.py|4 col 1| I001 isort found an import in the wrong position
digitalpy/core/zmanager/impl/zmq_pusher.py|5 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/zmq_pusher.py|6 col 1| D101 Missing docstring in public class
digitalpy/core/zmanager/impl/zmq_pusher.py|6 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/zmanager/impl/zmq_pusher.py|7 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|8 col 1| D107 Missing docstring in init
digitalpy/core/zmanager/impl/zmq_pusher.py|13 col 1| D102 Missing docstring in public method
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 36| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 36| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| DAR101 Missing parameter(s) in Docstring: - address
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| DAR101 Missing parameter(s) in Docstring: - port
digitalpy/core/zmanager/impl/zmq_pusher.py|19 col 36| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|19 col 36| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_pusher.py|20 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - protocol
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 9| WPS221 Found line with high Jones Complexity: 35 > 14
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 33| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 80| E501 line too long (210 > 79 characters)
digitalpy/core/zmanager/impl/zmq_pusher.py|26 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|27 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|29 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|31 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|34 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|35 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|38 col 66| W292 no newline at end of file
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 80| E501 line too long (179 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 40| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 40| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 80| E501 line too long (132 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 80| E501 line too long (97 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 17| WPS221 Found line with high Jones Complexity: 15 > 14
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 93| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|61 col 9| F841 local variable 'ex' is assigned to but never used
digitalpy/core/service_management/digitalpy_service.py|12 col 1| I001 isort found an import in the wrong position
digitalpy/core/service_management/digitalpy_service.py|15 col 1| D101 Missing docstring in public class
digitalpy/core/service_management/digitalpy_service.py|15 col 1| WPS230 Found too many public instance attributes: 7 > 6
digitalpy/core/service_management/digitalpy_service.py|15 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/service_management/digitalpy_service.py|19 col 1| D107 Missing docstring in init
digitalpy/core/service_management/digitalpy_service.py|19 col 5| WPS211 Found too many arguments: 9 > 5
digitalpy/core/service_management/digitalpy_service.py|19 col 18| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/service_management/digitalpy_service.py|19 col 80| E501 line too long (226 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|22 col 9| WPS609 Found direct magic attribute usage: init
digitalpy/core/service_management/digitalpy_service.py|42 col 1| D102 Missing docstring in public method
digitalpy/core/service_management/digitalpy_service.py|43 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|44 col 80| E501 line too long (166 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|46 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|47 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|48 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|50 col 1| W293 blank line contains whitespace
digitalpy/core/service_management/digitalpy_service.py|51 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|52 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 52| W292 no newline at end of file

@@ -9,7 +9,7 @@
#######################################################
from typing import Any
from digitalpy.core.persistence.persistent_object import PersistentObject
from digitalpy.core.event import Event
from digitalpy.core.main.event import Event
Copy link
Contributor

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

@@ -11,33 +11,50 @@
import zmq

class IntegrationManager:
def __init__(self, integration_manager_puller_protocol: str, integration_manager_puller_address: str, integration_manager_puller_port: int,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
D107 Missing docstring in init

@@ -11,33 +11,50 @@
import zmq

class IntegrationManager:
def __init__(self, integration_manager_puller_protocol: str, integration_manager_puller_address: str, integration_manager_puller_port: int,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS317 Found incorrect multi-line parameters

@@ -11,33 +11,50 @@
import zmq

class IntegrationManager:
def __init__(self, integration_manager_puller_protocol: str, integration_manager_puller_address: str, integration_manager_puller_port: int,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS211 Found too many arguments: 7 > 5

@@ -11,33 +11,50 @@
import zmq

class IntegrationManager:
def __init__(self, integration_manager_puller_protocol: str, integration_manager_puller_address: str, integration_manager_puller_port: int,
Copy link
Contributor

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 (143 > 79 characters)

# receive a message from a client
request = self.pull_socket.recv_multipart()[0]
response_protocol, response_object_unserialized = request.split(b',', 1)
subject = b"/messages" + response_protocol
Copy link
Contributor

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

# receive a message from a client
request = self.pull_socket.recv_multipart()[0]
response_protocol, response_object_unserialized = request.split(b',', 1)
subject = b"/messages" + response_protocol
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS336 Found explicit string concatenation

response_protocol, response_object_unserialized = request.split(b',', 1)
subject = b"/messages" + response_protocol

try:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS505 Found nested try block


try:
# send the response back to the client
self.pub_socket.send(subject + b" " + response_object_unserialized)
Copy link
Contributor

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


try:
# send the response back to the client
self.pub_socket.send(subject + b" " + response_object_unserialized)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS336 Found explicit string concatenation

Copy link
Contributor

@naman108 naman108 left a 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/zmanager/impl/default_routing_worker.py|80 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/default_routing_worker.py|94 col 17| WPS125 Found builtin shadowing: format
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 35| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 35| WPS305 Found f string
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 80| E501 line too long (92 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|114 col 93| C812 missing trailing comma
digitalpy/core/zmanager/impl/default_routing_worker.py|199 col 5| WPS210 Found too many local variables: 9 > 5
digitalpy/core/zmanager/impl/default_routing_worker.py|203 col 80| E501 line too long (116 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|205 col 9| WPS229 Found too long try body length: 11 > 1
digitalpy/core/zmanager/impl/default_routing_worker.py|207 col 52| W291 trailing whitespace
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 13| WPS236 Found too many variables used to unpack a tuple: 6 > 4
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 38| WPS125 Found builtin shadowing: format
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 56| WPS110 Found wrong variable name: values
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 79| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|208 col 80| E501 line too long (86 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|212 col 54| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|214 col 46| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|215 col 48| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|216 col 46| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|217 col 46| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 13| WPS221 Found line with high Jones Complexity: 32 > 14
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 30| WPS237 Found a too complex f string
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 30| WPS305 Found f string
digitalpy/core/zmanager/impl/default_routing_worker.py|222 col 80| E501 line too long (162 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|227 col 32| W292 no newline at end of file
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 9| WPS221 Found line with high Jones Complexity: 33 > 14
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 14| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 80| E501 line too long (191 > 79 characters)
digitalpy/core/zmanager/impl/zeroless_pusher.py|27 col 192| W292 no newline at end of file
digitalpy/core/zmanager/impl/zmq_pusher.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/zmanager/impl/zmq_pusher.py|2 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/zmq_pusher.py|4 col 1| I001 isort found an import in the wrong position
digitalpy/core/zmanager/impl/zmq_pusher.py|5 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/zmq_pusher.py|6 col 1| D101 Missing docstring in public class
digitalpy/core/zmanager/impl/zmq_pusher.py|6 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/zmanager/impl/zmq_pusher.py|7 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|8 col 1| D107 Missing docstring in init
digitalpy/core/zmanager/impl/zmq_pusher.py|13 col 1| D102 Missing docstring in public method
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 36| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 36| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| DAR101 Missing parameter(s) in Docstring: - address
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| DAR101 Missing parameter(s) in Docstring: - port
digitalpy/core/zmanager/impl/zmq_pusher.py|19 col 36| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|19 col 36| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_pusher.py|20 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - protocol
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 9| WPS221 Found line with high Jones Complexity: 35 > 14
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 33| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 80| E501 line too long (210 > 79 characters)
digitalpy/core/zmanager/impl/zmq_pusher.py|26 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|27 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|29 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|31 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|34 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|35 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|38 col 66| W292 no newline at end of file
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 80| E501 line too long (179 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 40| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 40| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 80| E501 line too long (132 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 80| E501 line too long (97 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 17| WPS221 Found line with high Jones Complexity: 15 > 14
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 93| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|61 col 9| F841 local variable 'ex' is assigned to but never used
digitalpy/core/service_management/digitalpy_service.py|12 col 1| I001 isort found an import in the wrong position
digitalpy/core/service_management/digitalpy_service.py|15 col 1| D101 Missing docstring in public class
digitalpy/core/service_management/digitalpy_service.py|15 col 1| WPS230 Found too many public instance attributes: 7 > 6
digitalpy/core/service_management/digitalpy_service.py|15 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/service_management/digitalpy_service.py|19 col 1| D107 Missing docstring in init
digitalpy/core/service_management/digitalpy_service.py|19 col 5| WPS211 Found too many arguments: 9 > 5
digitalpy/core/service_management/digitalpy_service.py|19 col 18| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/service_management/digitalpy_service.py|19 col 80| E501 line too long (226 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|22 col 9| WPS609 Found direct magic attribute usage: init
digitalpy/core/service_management/digitalpy_service.py|42 col 1| D102 Missing docstring in public method
digitalpy/core/service_management/digitalpy_service.py|43 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|44 col 80| E501 line too long (166 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|46 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|47 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|48 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|50 col 1| W293 blank line contains whitespace
digitalpy/core/service_management/digitalpy_service.py|51 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|52 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 52| W292 no newline at end of file

setup.py Outdated
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='digitalpy',
version='0.2.6.1',
version='0.2.6.3',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS318 Found extra indentation


try:
# send the response back to the client
self.pub_socket.send(subject + b" " + response_object_unserialized)
Copy link
Contributor

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 (87 > 79 characters)

# send the response back to the client
self.pub_socket.send(subject + b" " + response_object_unserialized)
except Exception as ex:
print("Error sending response to client: {}".format(ex))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS421 Found wrong function call: print

# send the response back to the client
self.pub_socket.send(subject + b" " + response_object_unserialized)
except Exception as ex:
print("Error sending response to client: {}".format(ex))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
P101 format string does contain unindexed parameters

# send the response back to the client
self.pub_socket.send(subject + b" " + response_object_unserialized)
except Exception as ex:
print("Error sending response to client: {}".format(ex))
Copy link
Contributor

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 send_error(self, exception: Exception):
Copy link
Contributor

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 send_error(self, exception: Exception):
self.integration_manager_sock.send(b"error,"+str(exception).encode("utf-8"))
Copy link
Contributor

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 send_error(self, exception: Exception):
self.integration_manager_sock.send(b"error,"+str(exception).encode("utf-8"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS336 Found explicit string concatenation


def send_error(self, exception: Exception):
self.integration_manager_sock.send(b"error,"+str(exception).encode("utf-8"))
Copy link
Contributor

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 send_error(self, exception: Exception):
self.integration_manager_sock.send(b"error,"+str(exception).encode("utf-8"))
Copy link
Contributor

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 (84 > 79 characters)

Copy link
Contributor

@naman108 naman108 left a 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/zmanager/impl/zmq_pusher.py|1 col 1| D100 Missing docstring in public module
digitalpy/core/zmanager/impl/zmq_pusher.py|2 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/zmq_pusher.py|4 col 1| I001 isort found an import in the wrong position
digitalpy/core/zmanager/impl/zmq_pusher.py|5 col 1| I003 isort expected 1 blank line in imports, found 0
digitalpy/core/zmanager/impl/zmq_pusher.py|6 col 1| D101 Missing docstring in public class
digitalpy/core/zmanager/impl/zmq_pusher.py|6 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/zmanager/impl/zmq_pusher.py|7 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|8 col 1| D107 Missing docstring in init
digitalpy/core/zmanager/impl/zmq_pusher.py|13 col 1| D102 Missing docstring in public method
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 36| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 36| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| DAR101 Missing parameter(s) in Docstring: - address
digitalpy/core/zmanager/impl/zmq_pusher.py|17 col 1| DAR101 Missing parameter(s) in Docstring: - port
digitalpy/core/zmanager/impl/zmq_pusher.py|19 col 36| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|19 col 36| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_pusher.py|20 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - protocol
digitalpy/core/zmanager/impl/zmq_pusher.py|22 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 9| WPS221 Found line with high Jones Complexity: 35 > 14
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 33| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|25 col 80| E501 line too long (210 > 79 characters)
digitalpy/core/zmanager/impl/zmq_pusher.py|26 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|27 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|29 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|30 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|31 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|32 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|34 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|35 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|38 col 66| W292 no newline at end of file
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 80| E501 line too long (179 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 40| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 40| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|25 col 80| E501 line too long (132 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 80| E501 line too long (97 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 17| WPS221 Found line with high Jones Complexity: 15 > 14
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|39 col 93| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|61 col 9| F841 local variable 'ex' is assigned to but never used
digitalpy/core/service_management/digitalpy_service.py|12 col 1| I001 isort found an import in the wrong position
digitalpy/core/service_management/digitalpy_service.py|15 col 1| D101 Missing docstring in public class
digitalpy/core/service_management/digitalpy_service.py|15 col 1| WPS230 Found too many public instance attributes: 7 > 6
digitalpy/core/service_management/digitalpy_service.py|15 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/service_management/digitalpy_service.py|19 col 1| D107 Missing docstring in init
digitalpy/core/service_management/digitalpy_service.py|19 col 5| WPS211 Found too many arguments: 9 > 5
digitalpy/core/service_management/digitalpy_service.py|19 col 18| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/service_management/digitalpy_service.py|19 col 80| E501 line too long (226 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|22 col 9| WPS609 Found direct magic attribute usage: init
digitalpy/core/service_management/digitalpy_service.py|42 col 1| D102 Missing docstring in public method
digitalpy/core/service_management/digitalpy_service.py|43 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|44 col 80| E501 line too long (166 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|46 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|47 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|48 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|50 col 1| W293 blank line contains whitespace
digitalpy/core/service_management/digitalpy_service.py|51 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|52 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 52| W292 no newline at end of file

@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='digitalpy',
version='0.2.6.1',
version='0.2.7',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS318 Found extra indentation


def send_error(self, exception: Exception):
self.integration_manager_sock.send(b"error,"+str(exception).encode("utf-8"))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
W293 blank line contains whitespace


response = ObjectFactory.get_new_instance("response")
referrer = request.get_sender()
context = request.get_context()
action = request.get_action()
format = request.get_format()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS125 Found builtin shadowing: format

"ActionKey undefined".encode("utf-8"),
]
self.send_error(
Exception(f"action key for action {request.get_action()} undefined")
Copy link
Contributor

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

"ActionKey undefined".encode("utf-8"),
]
self.send_error(
Exception(f"action key for action {request.get_action()} undefined")
Copy link
Contributor

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

# Return the topic sections, response topic, and request
return response_topic, request
except Exception as ex:
self.send_error(ex)
Copy link
Contributor

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

push = self.pusher_client.push()
self.pusher_formatter.serialize(request)
push(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS221 Found line with high Jones Complexity: 33 > 14

push = self.pusher_client.push()
self.pusher_formatter.serialize(request)
push(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

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

push = self.pusher_client.push()
self.pusher_formatter.serialize(request)
push(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

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 (191 > 79 characters)

push = self.pusher_client.push()
self.pusher_formatter.serialize(request)
push(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

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

…t and sock instantiation to occur after proccess start
Copy link
Contributor

@naman108 naman108 left a 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/zmanager/impl/zmq_pusher.py|32 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|33 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|35 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|36 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|36 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|36 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|37 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|38 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|38 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|38 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|40 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|41 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|44 col 66| W292 no newline at end of file
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 80| E501 line too long (179 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|19 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 52| W291 trailing whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|29 col 36| E711 comparison to None should be 'if cond is None:'
digitalpy/core/zmanager/impl/zmq_subscriber.py|31 col 35| E711 comparison to None should be 'if cond is None:'
digitalpy/core/zmanager/impl/zmq_subscriber.py|33 col 40| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|33 col 40| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|33 col 80| E501 line too long (132 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|34 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|34 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|34 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|35 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|35 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|35 col 80| E501 line too long (97 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|40 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|48 col 17| WPS221 Found line with high Jones Complexity: 15 > 14
digitalpy/core/zmanager/impl/zmq_subscriber.py|48 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|48 col 93| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|70 col 9| F841 local variable 'ex' is assigned to but never used
digitalpy/core/service_management/digitalpy_service.py|12 col 1| I001 isort found an import in the wrong position
digitalpy/core/service_management/digitalpy_service.py|15 col 1| D101 Missing docstring in public class
digitalpy/core/service_management/digitalpy_service.py|15 col 1| WPS230 Found too many public instance attributes: 7 > 6
digitalpy/core/service_management/digitalpy_service.py|15 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/service_management/digitalpy_service.py|19 col 1| D107 Missing docstring in init
digitalpy/core/service_management/digitalpy_service.py|19 col 5| WPS211 Found too many arguments: 9 > 5
digitalpy/core/service_management/digitalpy_service.py|19 col 18| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/service_management/digitalpy_service.py|19 col 80| E501 line too long (226 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|22 col 9| WPS609 Found direct magic attribute usage: init
digitalpy/core/service_management/digitalpy_service.py|42 col 1| D102 Missing docstring in public method
digitalpy/core/service_management/digitalpy_service.py|43 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|44 col 80| E501 line too long (166 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|46 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|47 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|48 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|50 col 1| W293 blank line contains whitespace
digitalpy/core/service_management/digitalpy_service.py|51 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|52 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|53 col 52| W292 no newline at end of file

digitalpy/core/zmanager/impl/zmq_pusher.py Show resolved Hide resolved
digitalpy/core/zmanager/impl/zmq_pusher.py Show resolved Hide resolved
digitalpy/core/zmanager/impl/zmq_pusher.py Show resolved Hide resolved
digitalpy/core/zmanager/impl/zmq_pusher.py Show resolved Hide resolved
digitalpy/core/zmanager/impl/zmq_pusher.py Show resolved Hide resolved
self.pusher_socket.connect(f"tcp://{address}:{port}")

def subject_send_request(self, request: Request, protocol: str):
"""send the message to a Puller
Copy link
Contributor

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: - protocol

self.pusher_socket.connect(f"tcp://{address}:{port}")

def subject_send_request(self, request: Request, protocol: str):
"""send the message to a Puller
Copy link
Contributor

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: - request

"""send the message to a Puller
"""
self.pusher_formatter.serialize(request)
self.pusher_socket.send(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS221 Found line with high Jones Complexity: 35 > 14

"""send the message to a Puller
"""
self.pusher_formatter.serialize(request)
self.pusher_socket.send(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

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

"""send the message to a Puller
"""
self.pusher_formatter.serialize(request)
self.pusher_socket.send(b",".join([request.get_sender().encode(), request.get_context().encode(), request.get_action().encode(), request.get_format().encode(), protocol.encode(), request.get_values()]))
Copy link
Contributor

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 (210 > 79 characters)

Copy link
Contributor

@naman108 naman108 left a 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/zmanager/impl/default_routing_worker.py|33 col 80| E501 line too long (113 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|35 col 80| E501 line too long (99 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|46 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/default_routing_worker.py|46 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|46 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_routing_worker.py|77 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|77 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_routing_worker.py|77 col 1| DAR401 Missing exception(s) in Raises section: -r Exception
digitalpy/core/zmanager/impl/default_routing_worker.py|80 col 1| DAR402 Excess exception(s) in Raises section: +r ex
digitalpy/core/zmanager/impl/default_routing_worker.py|90 col 63| E225 missing whitespace around operator
digitalpy/core/zmanager/impl/default_routing_worker.py|91 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|91 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_routing_worker.py|102 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|102 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_routing_worker.py|105 col 80| E501 line too long (86 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|110 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|110 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_routing_worker.py|127 col 5| WPS210 Found too many local variables: 14 > 5
digitalpy/core/zmanager/impl/default_routing_worker.py|127 col 5| WPS213 Found too many expressions: 17 > 9
digitalpy/core/zmanager/impl/default_routing_worker.py|128 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|128 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_routing_worker.py|131 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|134 col 51| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|138 col 9| WPS125 Found builtin shadowing: format
digitalpy/core/zmanager/impl/default_routing_worker.py|144 col 10| N806 variable 'actionKeyProvider' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|145 col 33| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|145 col 48| C812 missing trailing comma
digitalpy/core/zmanager/impl/default_routing_worker.py|148 col 10| N806 variable 'actionKey' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|155 col 12| WPS507 Found useless len() compare
digitalpy/core/zmanager/impl/default_routing_worker.py|158 col 27| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|158 col 27| WPS305 Found f string
digitalpy/core/zmanager/impl/default_routing_worker.py|158 col 80| E501 line too long (84 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|158 col 85| C812 missing trailing comma
digitalpy/core/zmanager/impl/default_routing_worker.py|163 col 10| N806 variable 'controllerClass' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|164 col 10| N806 variable 'controllerDef' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|164 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|164 col 80| E501 line too long (80 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|165 col 12| WPS507 Found useless len() compare
digitalpy/core/zmanager/impl/default_routing_worker.py|167 col 17| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|169 col 19| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|169 col 58| C812 missing trailing comma
digitalpy/core/zmanager/impl/default_routing_worker.py|173 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|174 col 10| N806 variable 'controllerMethod' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|175 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|176 col 55| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|177 col 14| N806 variable 'controllerClass' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|177 col 31| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|178 col 14| N806 variable 'controllerMethod' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|180 col 14| N806 variable 'controllerClass' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|183 col 10| N806 variable 'controllerObj' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|189 col 1| E800 Found commented out code
digitalpy/core/zmanager/impl/default_routing_worker.py|195 col 9| WPS229 Found too long try body length: 3 > 1
digitalpy/core/zmanager/impl/default_routing_worker.py|196 col 13| WPS421 Found wrong function call: print
digitalpy/core/zmanager/impl/default_routing_worker.py|196 col 19| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|196 col 19| WPS323 Found % string formatting
digitalpy/core/zmanager/impl/default_routing_worker.py|198 col 13| WPS421 Found wrong function call: print
digitalpy/core/zmanager/impl/default_routing_worker.py|198 col 19| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|198 col 19| WPS323 Found % string formatting
digitalpy/core/zmanager/impl/default_routing_worker.py|199 col 1| S110 Try, Except, Pass detected.
digitalpy/core/zmanager/impl/default_routing_worker.py|199 col 9| F841 local variable 'e' is assigned to but never used
digitalpy/core/zmanager/impl/default_routing_worker.py|199 col 9| WPS111 Found too short name: e < 2
digitalpy/core/zmanager/impl/default_routing_worker.py|200 col 13| WPS420 Found wrong keyword: pass
digitalpy/core/zmanager/impl/default_routing_worker.py|202 col 10| N806 variable 'nextActionKey' in function should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|211 col 80| E501 line too long (89 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|212 col 21| WPS507 Found useless len() compare
digitalpy/core/zmanager/impl/default_routing_worker.py|215 col 13| WPS421 Found wrong function call: print
digitalpy/core/zmanager/impl/default_routing_worker.py|215 col 19| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_routing_worker.py|215 col 19| WPS323 Found % string formatting
digitalpy/core/zmanager/impl/default_routing_worker.py|218 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/default_routing_worker.py|219 col 66| E231 missing whitespace after ','
digitalpy/core/zmanager/impl/default_routing_worker.py|219 col 80| E501 line too long (84 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|225 col 37| N803 argument name 'controllerClass' should be lowercase
digitalpy/core/zmanager/impl/default_routing_worker.py|226 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_routing_worker.py|229 col 80| E501 line too long (103 > 79 characters)
digitalpy/core/zmanager/impl/default_routing_worker.py|230 col 80| E501 line too long (81 > 79 characters)
digitalpy/core/zmanager/impl/default_request.py|7 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/default_request.py|7 col 1| D204 1 blank line required after class docstring
digitalpy/core/zmanager/impl/default_request.py|7 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_request.py|10 col 1| D200 One-line docstring should fit on one line with quotes
digitalpy/core/zmanager/impl/default_request.py|10 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_request.py|10 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/zmanager/impl/default_request.py|10 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_request.py|16 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/zmanager/impl/default_request.py|19 col 80| E501 line too long (83 > 79 characters)
digitalpy/core/zmanager/impl/default_request.py|25 col 1| DAR202 Excess "Returns" in Docstring: + return
digitalpy/core/zmanager/impl/default_request.py|32 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/zmanager/impl/default_request.py|42 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/zmanager/impl/zeroless_pusher.py|13 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zeroless_pusher.py|13 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/zmq_pusher.py|14 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/zmq_pusher.py|46 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|47 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|49 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|50 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|50 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|50 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|51 col 12| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|52 col 13| WPS420 Found wrong keyword: del
digitalpy/core/zmanager/impl/zmq_pusher.py|52 col 17| WPS529 Found implicit .get() dict usage
digitalpy/core/zmanager/impl/zmq_pusher.py|52 col 23| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_pusher.py|54 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_pusher.py|55 col 1| D105 Missing docstring in magic method
digitalpy/core/zmanager/impl/zmq_pusher.py|58 col 66| W292 no newline at end of file
digitalpy/core/zmanager/impl/default_action_mapper.py|47 col 5| WPS210 Found too many local variables: 13 > 5
digitalpy/core/zmanager/impl/default_action_mapper.py|47 col 5| WPS213 Found too many expressions: 18 > 9
digitalpy/core/zmanager/impl/default_action_mapper.py|47 col 67| E225 missing whitespace around operator
digitalpy/core/zmanager/impl/default_action_mapper.py|48 col 1| DAR401 Missing exception(s) in Raises section: -r Exception
digitalpy/core/zmanager/impl/default_action_mapper.py|49 col 1| D400 First line should end with a period
digitalpy/core/zmanager/impl/default_action_mapper.py|49 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/zmanager/impl/default_action_mapper.py|49 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/zmanager/impl/default_action_mapper.py|49 col 80| E501 line too long (87 > 79 characters)
digitalpy/core/zmanager/impl/default_action_mapper.py|53 col 80| E501 line too long (96 > 79 characters)
digitalpy/core/zmanager/impl/default_action_mapper.py|97 col 13| WPS454 Found wrong raise exception type: Exception
digitalpy/core/zmanager/impl/default_action_mapper.py|97 col 29| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/default_action_mapper.py|97 col 29| WPS336 Found explicit string concatenation
digitalpy/core/zmanager/impl/default_action_mapper.py|97 col 71| E225 missing whitespace around operator
digitalpy/core/zmanager/impl/default_action_mapper.py|97 col 80| E501 line too long (82 > 79 characters)
digitalpy/core/zmanager/impl/default_response.py|9 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/zmanager/impl/default_response.py|10 col 1| D205 1 blank line required between summary line and description
digitalpy/core/zmanager/impl/default_response.py|10 col 1| D208 Docstring is over-indented
digitalpy/core/zmanager/impl/default_response.py|10 col 1| D209 Multi-line docstring closing quotes should be on a separate line
digitalpy/core/zmanager/impl/default_response.py|10 col 1| D401 First line should be in imperative mood
digitalpy/core/zmanager/impl/default_response.py|10 col 1| DAR101 Missing parameter(s) in Docstring: - request
digitalpy/core/zmanager/impl/default_response.py|10 col 80| E501 line too long (171 > 79 characters)
digitalpy/core/zmanager/impl/default_response.py|12 col 1| RST301 Unexpected indentation.
digitalpy/core/zmanager/impl/default_response.py|12 col 80| E501 line too long (83 > 79 characters)
digitalpy/core/zmanager/impl/default_response.py|13 col 1| RST201 Block quote ends without a blank line; unexpected unindent.
digitalpy/core/zmanager/impl/default_response.py|20 col 1| D208 Docstring is over-indented
digitalpy/core/zmanager/impl/default_response.py|20 col 1| D209 Multi-line docstring closing quotes should be on a separate line
digitalpy/core/zmanager/impl/default_response.py|20 col 1| D401 First line should be in imperative mood
digitalpy/core/zmanager/impl/default_response.py|20 col 1| D414 Section has no content
digitalpy/core/zmanager/impl/default_response.py|27 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/zmanager/impl/default_response.py|28 col 1| D205 1 blank line required between summary line and description
digitalpy/core/zmanager/impl/default_response.py|28 col 1| D208 Docstring is over-indented
digitalpy/core/zmanager/impl/default_response.py|28 col 1| D209 Multi-line docstring closing quotes should be on a separate line
digitalpy/core/zmanager/impl/default_response.py|28 col 1| D401 First line should be in imperative mood
digitalpy/core/zmanager/impl/default_response.py|28 col 1| DAR101 Missing parameter(s) in Docstring: - status
digitalpy/core/zmanager/impl/default_response.py|30 col 1| RST301 Unexpected indentation.
digitalpy/core/zmanager/impl/default_response.py|31 col 1| RST201 Block quote ends without a blank line; unexpected unindent.
digitalpy/core/zmanager/impl/default_response.py|35 col 5| WPS615 Found unpythonic getter or setter
digitalpy/core/zmanager/impl/default_response.py|36 col 1| D205 1 blank line required between summary line and description
digitalpy/core/zmanager/impl/default_response.py|36 col 1| D208 Docstring is over-indented
digitalpy/core/zmanager/impl/default_response.py|36 col 1| D209 Multi-line docstring closing quotes should be on a separate line
digitalpy/core/zmanager/impl/default_response.py|36 col 1| D401 First line should be in imperative mood
digitalpy/core/zmanager/impl/default_response.py|36 col 1| D414 Section has no content
digitalpy/core/zmanager/impl/default_response.py|36 col 1| DAR201 Missing "Returns" in Docstring: - return
digitalpy/core/zmanager/impl/default_response.py|38 col 1| RST301 Unexpected indentation.
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 5| WPS211 Found too many arguments: 6 > 5
digitalpy/core/zmanager/impl/zmq_subscriber.py|16 col 80| E501 line too long (179 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|19 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|26 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|27 col 52| W291 trailing whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|29 col 36| E711 comparison to None should be 'if cond is None:'
digitalpy/core/zmanager/impl/zmq_subscriber.py|31 col 35| E711 comparison to None should be 'if cond is None:'
digitalpy/core/zmanager/impl/zmq_subscriber.py|33 col 40| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|33 col 40| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|33 col 80| E501 line too long (132 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|34 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|34 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|34 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|35 col 65| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|35 col 65| WPS305 Found f string
digitalpy/core/zmanager/impl/zmq_subscriber.py|35 col 80| E501 line too long (97 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|40 col 1| W293 blank line contains whitespace
digitalpy/core/zmanager/impl/zmq_subscriber.py|48 col 17| WPS221 Found line with high Jones Complexity: 15 > 14
digitalpy/core/zmanager/impl/zmq_subscriber.py|48 col 80| E501 line too long (100 > 79 characters)
digitalpy/core/zmanager/impl/zmq_subscriber.py|48 col 93| Q000 Double quotes found but single quotes preferred
digitalpy/core/zmanager/impl/zmq_subscriber.py|70 col 9| F841 local variable 'ex' is assigned to but never used
digitalpy/core/service_management/service_registration_handler.py|80 col 66| C812 missing trailing comma
digitalpy/core/service_management/service_registration_handler.py|87 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/service_management/service_registration_handler.py|96 col 1| D400 First line should end with a period
digitalpy/core/service_management/service_registration_handler.py|96 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/service_management/digitalpy_service.py|12 col 1| I001 isort found an import in the wrong position
digitalpy/core/service_management/digitalpy_service.py|15 col 1| D101 Missing docstring in public class
digitalpy/core/service_management/digitalpy_service.py|15 col 1| WPS230 Found too many public instance attributes: 7 > 6
digitalpy/core/service_management/digitalpy_service.py|15 col 1| E302 expected 2 blank lines, found 1
digitalpy/core/service_management/digitalpy_service.py|19 col 5| WPS211 Found too many arguments: 9 > 5
digitalpy/core/service_management/digitalpy_service.py|19 col 18| WPS221 Found line with high Jones Complexity: 17 > 14
digitalpy/core/service_management/digitalpy_service.py|19 col 80| E501 line too long (226 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|20 col 1| D400 First line should end with a period
digitalpy/core/service_management/digitalpy_service.py|20 col 1| D401 First line should be in imperative mood; try rephrasing
digitalpy/core/service_management/digitalpy_service.py|20 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/service_management/digitalpy_service.py|23 col 80| E501 line too long (91 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|27 col 80| E501 line too long (96 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|28 col 80| E501 line too long (90 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|29 col 80| E501 line too long (98 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|30 col 80| E501 line too long (161 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|34 col 9| WPS609 Found direct magic attribute usage: init
digitalpy/core/service_management/digitalpy_service.py|55 col 1| D400 First line should end with a period
digitalpy/core/service_management/digitalpy_service.py|55 col 1| D403 First word of the first line should be properly capitalized
digitalpy/core/service_management/digitalpy_service.py|60 col 80| E501 line too long (85 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|61 col 80| E501 line too long (166 > 79 characters)
digitalpy/core/service_management/digitalpy_service.py|63 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|64 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|65 col 9| WPS609 Found direct magic attribute usage: getstate
digitalpy/core/service_management/digitalpy_service.py|67 col 1| W293 blank line contains whitespace
digitalpy/core/service_management/digitalpy_service.py|68 col 1| D105 Missing docstring in magic method
digitalpy/core/service_management/digitalpy_service.py|69 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|70 col 9| WPS609 Found direct magic attribute usage: setstate
digitalpy/core/service_management/digitalpy_service.py|70 col 52| W292 no newline at end of file

digitalpy/core/telemetry/meter.py Show resolved Hide resolved
digitalpy/core/telemetry/meter.py Show resolved Hide resolved
digitalpy/core/telemetry/meter.py Show resolved Hide resolved
digitalpy/core/telemetry/meter.py Show resolved Hide resolved
digitalpy/core/telemetry/meter.py Show resolved Hide resolved
@naman108 naman108 marked this pull request as ready for review January 6, 2023 21:18
@naman108 naman108 merged commit 848d3ae into main Jan 6, 2023
@naman108 naman108 deleted the service-support branch January 6, 2023 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants