diff --git a/tox.ini b/tox.ini
index 59d57e7..8f20f71 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,6 +14,9 @@ commands=
 [pylama:dsmr_parser/clients/__init__.py]
 ignore = W0611
 
+[pylama:dsmr_parser/clients/socket_.py]
+ignore = C901
+
 [pylama:dsmr_parser/parsers.py]
 ignore = W605
 
@@ -24,4 +27,4 @@ ignore = E501
 max_line_length = 120
 
 [pylama:pycodestyle]
-max_line_length = 120
\ No newline at end of file
+max_line_length = 120