Ce/connect messaging #6693
lint.yml
on: pull_request
Lint Python
1m 10s
Lint Javascript
1m 34s
Annotations
33 errors, 2 warnings, and 1 notice
corehq/apps/commtrack/sms.py#L166
Do not use bare 'except' (E722)
|
corehq/apps/commtrack/sms.py#L273
Local variable 'there' is assigned to but never used (F841)
|
corehq/apps/commtrack/sms.py#L353
Missing whitespace around arithmetic operator (E226)
|
corehq/apps/commtrack/sms.py#L364
Line too long (117 > 115 characters) (E501)
|
corehq/apps/domain/auth.py#L174
Too many blank lines (4) (E303)
|
corehq/apps/domain/auth.py#L424
Multiple spaces after ',' (E241)
|
corehq/apps/sms/api.py#L267
Do not use bare 'except' (E722)
|
corehq/apps/sms/api.py#L280
Do not use bare 'except' (E722)
|
corehq/apps/sms/api.py#L410
Too many blank lines (3) (E303)
|
corehq/apps/sms/api.py#L520
Local variable 'keyword1' is assigned to but never used (F841)
|
corehq/apps/sms/api.py#L645
Do not use bare 'except' (E722)
|
corehq/apps/sms/handlers/form_session.py#L220
Blank line contains whitespace (W293)
|
corehq/apps/sms/handlers/form_session.py#L228
Blank line contains whitespace (W293)
|
corehq/apps/sms/handlers/form_session.py#L236
Blank line contains whitespace (W293)
|
corehq/apps/sms/handlers/keyword.py#L311
Do not use bare 'except' (E722)
|
corehq/apps/sms/handlers/keyword.py#L547
Line break after binary operator (W504)
|
corehq/apps/sms/handlers/keyword.py#L548
Line break after binary operator (W504)
|
corehq/apps/sms/migrations/0061_connectmessage_message_id_connectmessage_received_on.py#L6
Expected 2 blank lines, found 1 (E302)
|
corehq/apps/sms/models.py#L653
Blank line contains whitespace (W293)
|
corehq/apps/sms/models.py#L655
Too many blank lines (3) (E303)
|
corehq/apps/sms/tests/opt_tests.py#L49
Too many blank lines (2) (E303)
|
corehq/apps/sms/verify.py#L119
Line break after binary operator (W504)
|
corehq/messaging/scheduling/forms.py#L523
Line too long (116 > 115 characters) (E501)
|
corehq/messaging/scheduling/forms.py#L525
Line too long (123 > 115 characters) (E501)
|
corehq/messaging/scheduling/models/abstract.py#L166
Line too long (122 > 115 characters) (E501)
|
corehq/messaging/scheduling/models/content.py#L800
Expected 2 blank lines, found 1 (E302)
|
corehq/messaging/scheduling/models/content.py#L812
Local variable 'logged_subevent' is assigned to but never used (F841)
|
corehq/messaging/scheduling/models/content.py#L823
Undefined name 'send_connect_message' (F821)
|
corehq/messaging/smsbackends/connectid/backend.py#L4
'uuid.uuid4' imported but unused (F401)
|
corehq/messaging/smsbackends/connectid/backend.py#L10
Expected 2 blank lines, found 1 (E302)
|
corehq/messaging/smsbackends/connectid/backend.py#L36
Too many blank lines (2) (E303)
|
corehq/messaging/smsbackends/connectid/views.py#L17
Expected 2 blank lines, found 1 (E302)
|
Lint Python
Linting failures detected. See check runs with annotations for details.
|
Lint Python
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, wearerequired/lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint Javascript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, sibiraj-s/action-eslint@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint Javascript
No files found. Skipping.
|