Skip to content

Push on develop

Push on develop #1908

Triggered via dynamic November 20, 2024 12:13
Status Success
Total duration 1m 40s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 90 warnings, and 908 notices
Improper first parameter: care/facility/api/serializers/asset.py#L413
Method must have a first parameter, usually called 'self'
Improper first parameter: care/facility/api/serializers/asset.py#L413
Method must have a first parameter, usually called 'self'
Incorrect call arguments: care/facility/models/bed.py#L63
Unexpected argument
Incorrect call arguments: care/security/authorization/base.py#L28
Parameter 'context_id' unfilled
Incorrect call arguments: care/security/authorization/base.py#L28
Parameter 'context' unfilled
Incorrect call arguments: care/security/authorization/base.py#L25
Parameter 'context_id' unfilled
Incorrect call arguments: care/security/authorization/base.py#L25
Parameter 'context' unfilled
Attempt to call a non-callable object: care/facility/api/serializers/facility.py#L159
'MiddlewareDomainAddressValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L44
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L29
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L34
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L117
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L132
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/facility/api/serializers/asset.py#L55
'MiddlewareDomainAddressValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L88
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L105
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L122
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L127
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L111
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L93
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L39
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L99
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L49
'UsernameValidator' object is not callable
Incorrect call arguments: care/facility/models/bed.py#L63
Unexpected argument
Incorrect call arguments: care/security/authorization/base.py#L28
Parameter 'context_id' unfilled
Incorrect call arguments: care/security/authorization/base.py#L28
Parameter 'context' unfilled
Incorrect call arguments: care/security/authorization/base.py#L25
Parameter 'context_id' unfilled
Incorrect call arguments: care/security/authorization/base.py#L25
Parameter 'context' unfilled
Attempt to call a non-callable object: care/facility/api/serializers/facility.py#L159
'MiddlewareDomainAddressValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L44
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L29
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L34
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L117
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L132
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/facility/api/serializers/asset.py#L55
'MiddlewareDomainAddressValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L88
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L105
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L122
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L127
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L111
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L93
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L39
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L99
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L49
'UsernameValidator' object is not callable
Redeclared names without usages: care/facility/api/viewsets/patient_investigation.py#L81
Redeclared 'PatientInvestigationFilter' defined above without usage
Redeclared names without usages: care/facility/models/facility.py#L201
Redeclared 'REVERSE_FEATURE_CHOICES' defined above without usage
Incorrect type: care/facility/models/patient.py#L621
Expected type 'collections.Iterable', got 'Type\[OccupationEnum\]' instead
Incorrect type: care/facility/models/patient.py#L681
Expected type 'collections.Iterable', got 'Type\[ModeOfContactEnum\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L188
Expected type 'collections.Iterable', got 'Type\[ExpectedFacilityKeys\]' instead
Incorrect type: care/facility/models/patient.py#L94
Expected type 'collections.Iterable', got 'Type\[ActionEnum\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L196
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentListKeys\]' instead
Incorrect type: care/users/tests/test_api.py#L72
Type 'User' doesn't have expected attributes 'first_name', 'last_name', 'email', 'get_user_type_display', 'is_superuser'
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L213
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentRetrieveKeys\]' instead
Incorrect type: care/facility/models/prescription.py#L107
Expected type 'collections.Iterable', got 'Type\[Routes\]' instead
Incorrect type: care/facility/models/patient.py#L81
Expected type 'collections.Iterable', got 'Type\[VaccineEnum\]' instead
Incorrect type: care/facility/models/notification.py#L45
Expected type 'collections.Iterable', got 'Type\[Event\]' instead
Incorrect type: care/facility/tasks/plausible_stats.py#L104
Expected type 'collections.Iterable', got 'Type\[Goals\]' instead
Incorrect type: care/facility/models/icd11_diagnosis.py#L68
Expected type 'collections.Iterable', got 'Type\[ConditionVerificationStatus\]' instead
Incorrect type: care/facility/models/patient_base.py#L143
Expected type 'collections.Iterable', got 'Type\[BedType\]' instead
Incorrect type: care/facility/models/prescription.py#L129
Expected type 'collections.Iterable', got 'Type\[FrequencyEnum\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L204
Expected type 'collections.Iterable', got 'Type\[ExpectedLocalBodyObjectKeys\]' instead
Incorrect type: care/users/api/viewsets/users.py#L335
Type 'User' doesn't have expected attribute 'is_superuser'
Incorrect type: care/facility/models/file_upload.py#L163
Expected type 'collections.Iterable', got 'Type\[FileCategory\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L236
Expected type 'collections.Iterable', got 'Type\[ExpectedCreatedByObjectKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L157
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftRetrieveKeys\]' instead
Incorrect type: care/utils/registries/feature_flag.py#L44
Expected type 'None', got '(wrapped_class: Any) -\> Any' instead
Incorrect type: care/facility/models/asset.py#L73
Expected type 'collections.Iterable', got 'Type\[Status\]' instead
Incorrect type: care/facility/models/notification.py#L22
Expected type 'collections.Iterable', got 'Type\[Medium\]' instead
Incorrect type: care/facility/models/patient_base.py#L95
Expected type 'collections.Iterable', got 'Type\[NewDischargeReasonEnum\]' instead
Incorrect type: care/facility/models/file_upload.py#L162
Expected type 'collections.Iterable', got 'Type\[FileType\]' instead
Incorrect type: care/facility/models/notification.py#L15
Expected type 'collections.Iterable', got 'Type\[EventType\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L220
Expected type 'collections.Iterable', got 'Type\[ExpectedStateObjectKeys\]' instead
Incorrect type: care/facility/models/mixins/permissions/facility.py#L112
Expected type 'Facility', got 'None' instead
Incorrect type: care/facility/tests/test_patient_api.py#L228
Expected type 'collections.Iterable', got 'Type\[ExpectedFacilityTypeKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L218
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentRetrieveCreatedByKeys\]' instead
Incorrect type: care/facility/models/asset.py#L63
Expected type 'collections.Iterable', got 'Type\[AssetType\]' instead
Incorrect type: care/facility/models/patient.py#L680
Expected type 'collections.Iterable', got 'Type\[RelationEnum\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L196
Expected type 'collections.Iterable', got 'Type\[ExpectedWardObjectKeys\]' instead
Incorrect type: care/utils/tests/test_utils.py#L313
Type 'District' doesn't have expected attribute 'id'
Incorrect type: care/facility/models/icd11_diagnosis.py#L63
Expected type 'collections.Iterable', got 'Type\[ConditionVerificationStatus\]' instead
Incorrect type: care/users/api/viewsets/users.py#L396
Type 'User' doesn't have expected attribute 'id'
Incorrect type: care/facility/models/patient.py#L70
Expected type 'collections.Iterable', got 'Type\[SourceEnum\]' instead
Incorrect type: care/users/api/viewsets/users.py#L385
Type 'User' doesn't have expected attribute 'id'
Incorrect type: care/facility/models/patient.py#L105
Expected type 'collections.Iterable', got 'Type\[TestTypeEnum\]' instead
Incorrect type: care/facility/models/patient_base.py#L107
Expected type 'collections.Iterable', got 'Type\[DiseaseStatusEnum\]' instead
Incorrect type: care/utils/notification_handler.py#L38
Expected type 'NotificationGenerator', got 'None' instead
Incorrect type: care/facility/models/asset.py#L42
Expected type 'collections.Iterable', got 'Type\[RoomType\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L177
Expected type 'collections.Iterable', got 'Type\[ExpectedPatientNoteKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L149
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftListKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L201
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentListCreatedByKeys\]' instead
An instance attribute is defined outside `__init__`: care/facility/api/viewsets/facility.py#L98
Instance attribute action defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_middleware_auth.py#L30
Instance attribute public_key defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L40
Instance attribute normal_prescription_data_2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L20
Instance attribute local_body2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_consultation_bed_api.py#L47
Instance attribute consultation defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L16
Instance attribute district2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L33
Instance attribute normal_prescription_data defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L32
Instance attribute medicine_2 defined outside __init__
An instance attribute is defined outside `__init__`: config/auth_views.py#L57
Instance attribute user defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_middleware_auth.py#L29
Instance attribute private_key defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_asset_api.py#L36
Instance attribute asset defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L45
Instance attribute discharged_administration defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L22
Instance attribute facility1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_facility_flags.py#L19
Instance attribute facility defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L19
Instance attribute local_body1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L42
Instance attribute discharged_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/users/tests/test_user_flags.py#L17
Instance attribute user defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_assetbed_api.py#L82
Instance attribute assetbed defined outside __init__
An instance attribute is defined outside `__init__`: care/users/api/viewsets/change_password.py#L32
Instance attribute object defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L41
Instance attribute normal_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L13
Instance attribute district1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L32
Instance attribute medicine defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L47
Instance attribute discharged_consultation_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L25
Instance attribute facility2 defined outside __init__
Class has no `__init__` method: care/facility/admin.py#L184
Class has no __init__ method
Class has no `__init__` method: care/utils/tests/test_utils.py#L107
Class has no __init__ method
Class has no `__init__` method: plugs/plug.py#L5
Class has no __init__ method
Class has no `__init__` method: care/security/roles/role.py#L7
Class has no __init__ method
Class has no `__init__` method: config/patient_otp_authentication.py#L8
Class has no __init__ method
Class has no `__init__` method: care/security/authorization/base.py#L31
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L15
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L33
Class has no __init__ method
Class has no `__init__` method: care/users/admin.py#L22
Class has no __init__ method
Class has no `__init__` method: care/utils/serializers/fields.py#L8
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L21
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L26
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L15
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L5
Class has no __init__ method
Class has no `__init__` method: care/utils/tests/test_utils.py#L80
Class has no __init__ method
Class has no `__init__` method: care/security/authorization/base.py#L8
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L9
Class has no __init__ method
Class has no `__init__` method: care/security/roles/role.py#L34
Class has no __init__ method
Dictionary creation can be rewritten by dictionary literal: care/facility/migrations_old/0355_auto_20230429_2027.py#L28
This dictionary creation could be rewritten as a dictionary literal
Incorrect docstring: care/audit_log/helpers.py#L51
Missing parameter is_application in docstring
Incorrect docstring: care/utils/tests/test_utils.py#L743
Unexpected parameter data in docstring
Method is not declared static: config/authentication.py#L78
Method `get_public_key` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L301
Method `get_user_flags` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L400
Method `get_linked_model` may be 'static'
Method is not declared static: care/facility/models/resources.py#L134
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/shifting.py#L242
Method `validate_shifting_approving_facility` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L716
Method `get_discharge_prescription` may be 'static'
Method is not declared static: care/facility/utils/icd/scraper.py#L24
Method `add_query` may be 'static'
Method is not declared static: care/facility/api/serializers/shifting.py#L468
Method `get_age` may be 'static'
Method is not declared static: care/facility/api/viewsets/shifting.py#L56
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L170
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L236
Method `check_external_entry` may be 'static'
Method is not declared static: care/facility/api/viewsets/prescription.py#L52
Method `archived_filter` may be 'static'
Method is not declared static: config/authentication.py#L64
Method `authenticate_header` may be 'static'
Method is not declared static: config/health_views.py#L14
Method `get` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L726
Method `get_discharge_prn_prescription` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_consultation.py#L130
Method `_generate_discharge_summary` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L69
Method `get_facility_type` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L781
Method `get_district_representation` may be 'static'
Method is not declared static: care/users/models.py#L159
Method `make_random_password` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L413
Method `action_choices` may be 'static'
Method is not declared static: care/utils/ulid/models.py#L20
Method `get_internal_type` may be 'static'
Method is not declared static: care/facility/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L583
Method `validate_encounter_date` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L354
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/facility/api/viewsets/file_upload.py#L30
Method `has_permission` may be 'static'
Method is not declared static: care/facility/models/mixins/permissions/asset.py#L5
Method `has_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L162
Method `validate_features` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L108
Method `get_facility_flags` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L239
Method `_get_default_medium` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L64
Method `get_patient_count` may be 'static'
Method is not declared static: care/facility/api/viewsets/facility.py#L49
Method `filter_exclude_user` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L220
Method `has_facility_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L194
Method `validate_countries_travelled` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L203
Method `filter_is_permanent` may be 'static'
Method is not declared static: care/users/management/commands/load_data.py#L51
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L158
Method `get_patient` may be 'static'
Method is not declared static: care/facility/admin.py#L56
Method `lookups` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L793
Method `get_state_representation` may be 'static'
Method is not declared static: care/facility/api/viewsets/consultation_diagnosis.py#L69
Method `perform_update` may be 'static'
Method is not declared static: care/facility/api/serializers/events.py#L21
Method `get_children` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L798
Method `_convert_to_matchable_types` may be 'static'
Method is not declared static: care/facility/api/viewsets/bed.py#L167
Method `filter_bed_is_occupied` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L397
Method `get_linked_id` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L211
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L241
Method `check_facility_user_exists` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L940
Method `clear_existing_records` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L129
Method `filter_by_category` may be 'static'
Method is not declared static: care/audit_log/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L243
Method `filter_by_review_missed` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L244
Method `facility_query` may be 'static'
Method is not declared static: care/facility/api/serializers/inventory.py#L136
Method `set_burn_rate` may be 'static'
Method is not declared static: care/facility/api/serializers/encounter_symptom.py#L34
Method `validate_onset_date` may be 'static'
Method is not declared static: care/facility/models/patient_sample.py#L209
Method `has_object_destroy_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L427
Method `update` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L150
Method `validate_middleware_address` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L176
Method `get_discharge_prescription` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L502
Method `cztn` may be 'static'
Method is not declared static: care/facility/admin.py#L72
Method `lookups` may be 'static'
Method is not declared static: config/authentication.py#L266
Method `get_security_definition` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L131
Method `validate_facilities` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L655
Method `has_object_asset_write_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L237
Method `filter_bed_not_null` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L52
Method `validate_number_of_beds` may be 'static'
Method is not declared static: care/users/management/commands/load_state_data.py#L19
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/viewsets/bed.py#L46
Method `filter_bed_is_not_occupied_by_asset_type` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L139
Method `deserialize_extra_data` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L288
Method `filter_by_has_consents` may be 'static'
Method is not declared static: config/authentication.py#L216
Method `get_security_definition` may be 'static'
Method is not declared static: config/authentication.py#L48
Method `authenticate_header` may be 'static'
Method is not declared static: care/facility/api/viewsets/facility.py#L56
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/models/prescription.py#L212
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/models/ambulance.py#L103
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L898
Method `validate_patient_code_status` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L339
Method `send_webpush_user` may be 'static'
Method is not declared static: config/authentication.py#L235
Method `get_security_definition` may be 'static'
Method is not declared static: care/users/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L66
Method `filter_home_facility` may be 'static'
Method is not declared static: care/utils/event_utils.py#L63
Method `default` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_external_test.py#L67
Method `has_permission` may be 'static'
Method is not declared static: care/utils/ulid/serializers.py#L18
Method `to_representation` may be 'static'
Method is not declared static: care/users/tests/test_api.py#L312
Method `get_payload` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L73
Method `get_user_type` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L189
Method `filter_in_use_by_consultation` may be 'static'
Method is not declared static: care/facility/api/viewsets/icd.py#L14
Method `retrieve` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L49
Method `validate_name` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L377
Method `has_profile_image_write_permission` may be 'static'
Method is not declared static: care/users/management/commands/load_lsg_data.py#L18
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/daily_round.py#L120
Method `validate_bp` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L129
Method `serialize_extra_data` may be 'static'
Method is not declared static: care/utils/models/validators.py#L330
Method `_humanize_bytes` may be 'static'
Method is not declared static: care/users/models.py#L382
Method `has_object_write_permission` may be 'static'
Method is not declared static: config/patient_otp_authentication.py#L63
Method `get_user` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L598
Method `validate_patient_no` may be 'static'
Method is not declared static: care/facility/api/serializers/consultation_diagnosis.py#L15
Method `validate_verification_status` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L207
Method `validate_year_of_birth` may be 'static'
Method is not declared static: config/authentication.py#L204
Method `get_security_definition` may be 'static'
Method is not declared static: care/utils/assetintegration/base.py#L55
Method `_validate_response` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L49
Method `validate_middleware_address` may be 'static'
Method is not declared static: config/auth_views.py#L84
Method `validate` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L354
Method `filter_queryset` may be 'static'
Method is not declared static: care/users/api/viewsets/userskill.py#L13
Method `has_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L264
Method `filter_by_diagnoses` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L124
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/facility/api/viewsets/daily_round.py#L24
Method `filter_rounds_type` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L92
Method `filter_bed_is_occupied` may be 'static'
Method is not declared static: care/facility/api/serializers/daily_round.py#L328
Method `validate_taken_at` may be 'static'
Method is not declared static: care/security/authorization/base.py#L24
Method `check_permission` may be 'static'
Method is not declared static: care/facility/models/resources.py#L137
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/encounter_symptom.py#L18
Method `filter_is_cured` may be 'static'
Method is not declared static: care/utils/serializers/fields.py#L30
Method `to_representation` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L340
Method `filter_list_queryset` may be 'static'
Method is not declared static: config/authentication.py#L254
Method `get_security_definition` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L767
Method `get_local_body_representation` may be 'static'
Method is not declared static: care/facility/tests/test_medibase_api.py#L14
Method `get_url` may be 'static'
Method is not declared static: care/facility/models/prescription.py#L174
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/utils/models/validators.py#L177
Method `clean` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L238
Method `has_user_type_permission_elevation` may be 'static'
Method is not declared static: care/facility/api/serializers/consultation_diagnosis.py#L34
Method `get_diagnosis_object` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L208
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/utils/serializers/fields.py#L27
Method `to_internal_value` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L118
Method `validate_patient_in_contact` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L61
Method `get_bed_count` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L652
Method `has_object_asset_read_permission` may be 'static'
Method is not declared static: config/health_views.py#L21
Method `get` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_sample.py#L30
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/api/viewsets/icd.py#L11
Method `serialize_data` may be 'static'
Method is not declared static: config/patient_otp_authentication.py#L37
Method `get_validated_token` may be 'static'
Method is not declared static: care/facility/models/resources.py#L140
Method `has_object_transfer_permission` may be 'static'
Method is not declared static: care/security/authorization/facility.py#L21
Method `allowed_facilities` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L186
Method `get_discharge_prn_prescription` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L201
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L85
Method `last_active_after` may be 'static'
Method is not declared static: care/facility/api/viewsets/prescription.py#L187
Method `serialize_data` may be 'static'
Method is not declared static: care/users/tests/test_auth.py#L113
Method `create_reset_password_token` may be 'static'
Method is not declared static: care/users/management/commands/load_ward_data.py#L19
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L379
Method `create` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L173
Method `has_object_write_permission` may be 'static'
Improper first parameter: care/facility/migrations/0395_alter_patientconsultation_route_to_facility.py#L56
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0444_patientconsultation_has_consents_and_more.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0464_alter_facilitycapacity_room_type_and_more.py#L13
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0438_alter_dailyround_patient_category_and_more.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/users/migrations_old/0046_auto_20230204_1733.py#L49
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L36
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0415_patientconsultation_previous_consultation.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0397_truncate_discharge_time.py#L16
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0367_auto_20230704_1646.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0319_file_upload_completed.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/abdm/migrations_old/0013_abhanumber_patient.py#L9
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L17
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0466_camera_presets.py#L25
Usually first parameter of a method is named 'self'
An instance attribute is defined outside `__init__`: care/facility/api/viewsets/facility.py#L98
Instance attribute action defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_middleware_auth.py#L30
Instance attribute public_key defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L40
Instance attribute normal_prescription_data_2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L20
Instance attribute local_body2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_consultation_bed_api.py#L47
Instance attribute consultation defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L16
Instance attribute district2 defined outside __init__
Improper first parameter: care/facility/migrations/0392_alter_dailyround_consciousness_level.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0359_auto_20230529_1907.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/users/migrations_old/0046_auto_20230204_1733.py#L53
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0360_auto_20230608_1750.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0363_auto_20230621_1857.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0386_auto_20230911_1726.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0319_file_upload_completed.py#L17
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0358_auto_20230524_1853.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0395_alter_patientconsultation_route_to_facility.py#L19
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0376_auto_20230807_2148.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0385_patientconsultation_is_readmission.py#L13
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0366_auto_20230627_1806.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0466_camera_presets.py#L21
Usually first parameter of a method is named 'self'
Assigning function calls that don't return anything: care/facility/tests/test_facility_shifting_api.py#L178
Function 'create_patient_shift_comment' doesn't return anything
Assigning function calls that don't return anything: care/facility/tests/test_facility_shifting_api.py#L175
Function 'create_patient_shift' doesn't return anything
Assigning function calls that don't return anything: care/facility/tests/test_facility_shifting_api.py#L133
Function 'create_patient_shift' doesn't return anything
PEP 8 naming convention violation: care/utils/tests/test_utils.py#L114
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_auth.py#L17
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0429_double_pain_scale.py#L12
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0394_auto_20231114_2219.py#L7
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_file_upload.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_bed_create.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0408_patientnotesedit.py#L11
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_assetbed_api.py#L16
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0466_camera_presets.py#L22
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L734
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_medibase_api.py#L9
Function name should be lowercase
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L33
Instance attribute normal_prescription_data defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L32
Instance attribute medicine_2 defined outside __init__
An instance attribute is defined outside `__init__`: config/auth_views.py#L57
Instance attribute user defined outside __init__
PEP 8 naming convention violation: care/users/tests/test_api.py#L303
Function name should be lowercase
An instance attribute is defined outside `__init__`: care/facility/tests/test_middleware_auth.py#L29
Instance attribute private_key defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_asset_api.py#L36
Instance attribute asset defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L45
Instance attribute discharged_administration defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L22
Instance attribute facility1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_facility_flags.py#L19
Instance attribute facility defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L19
Instance attribute local_body1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L42
Instance attribute discharged_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/users/tests/test_user_flags.py#L17
Instance attribute user defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_assetbed_api.py#L82
Instance attribute assetbed defined outside __init__
An instance attribute is defined outside `__init__`: care/users/api/viewsets/change_password.py#L32
Instance attribute object defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L41
Instance attribute normal_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L13
Instance attribute district1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L32
Instance attribute medicine defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L47
Instance attribute discharged_consultation_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L25
Instance attribute facility2 defined outside __init__
Class has no `__init__` method: care/facility/admin.py#L184
Class has no __init__ method
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L64
Function name should be lowercase
Class has no `__init__` method: care/utils/tests/test_utils.py#L107
Class has no __init__ method
PEP 8 naming convention violation: care/users/tests/test_models.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations/0016_upgrade_user_skills.py#L7
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_auth.py#L106
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_file_upload.py#L54
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_asset_api.py#L328
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L333
Function name should be lowercase
PEP 8 naming convention violation: care/utils/ulid/ulid.py#L4
Constant variable imported as non-constant
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L884
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0363_auto_20230621_1857.py#L8
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_bed_api.py#L12
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L94
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L112
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0408_patientnotesedit.py#L10
Variable in function should be lowercase
Class has no `__init__` method: plugs/plug.py#L5
Class has no __init__ method
Class has no `__init__` method: care/security/roles/role.py#L7
Class has no __init__ method
Class has no `__init__` method: config/patient_otp_authentication.py#L8
Class has no __init__ method
Class has no `__init__` method: care/security/authorization/base.py#L31
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L15
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L33
Class has no __init__ method
Class has no `__init__` method: care/users/admin.py#L22
Class has no __init__ method
Class has no `__init__` method: care/utils/serializers/fields.py#L8
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L21
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L26
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L15
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L5
Class has no __init__ method
Class has no `__init__` method: care/utils/tests/test_utils.py#L80
Class has no __init__ method
Class has no `__init__` method: care/security/authorization/base.py#L8
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L9
Class has no __init__ method
Class has no `__init__` method: care/security/roles/role.py#L34
Class has no __init__ method
Dictionary creation can be rewritten by dictionary literal: care/facility/migrations_old/0355_auto_20230429_2027.py#L28
This dictionary creation could be rewritten as a dictionary literal
Incorrect docstring: care/audit_log/helpers.py#L51
Missing parameter is_application in docstring
Incorrect docstring: care/utils/tests/test_utils.py#L743
Unexpected parameter data in docstring
Method is not declared static: config/authentication.py#L78
Method `get_public_key` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L301
Method `get_user_flags` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L400
Method `get_linked_model` may be 'static'
Method is not declared static: care/facility/models/resources.py#L134
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/shifting.py#L242
Method `validate_shifting_approving_facility` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L716
Method `get_discharge_prescription` may be 'static'
Method is not declared static: care/facility/utils/icd/scraper.py#L24
Method `add_query` may be 'static'
Method is not declared static: care/facility/api/serializers/shifting.py#L468
Method `get_age` may be 'static'
PEP 8 naming convention violation: care/users/tests/test_models.py#L26
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0466_camera_presets.py#L26
Variable in function should be lowercase
Method is not declared static: care/facility/api/viewsets/shifting.py#L56
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L170
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L236
Method `check_external_entry` may be 'static'
Method is not declared static: care/facility/api/viewsets/prescription.py#L52
Method `archived_filter` may be 'static'
Method is not declared static: config/authentication.py#L64
Method `authenticate_header` may be 'static'
Method is not declared static: config/health_views.py#L14
Method `get` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L726
Method `get_discharge_prn_prescription` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_consultation.py#L130
Method `_generate_discharge_summary` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L69
Method `get_facility_type` may be 'static'
PEP 8 naming convention violation: care/facility/tests/test_facility_api.py#L14
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0405_auto_20231211_1930.py#L8
Variable in function should be lowercase
Method is not declared static: care/utils/tests/test_utils.py#L781
Method `get_district_representation` may be 'static'
Method is not declared static: care/users/models.py#L159
Method `make_random_password` may be 'static'
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L93
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L89
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0415_auto_20240227_0130.py#L9
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_bed_create.py#L90
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L79
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_user_flags.py#L11
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0429_double_pain_scale.py#L34
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_icd11_api.py#L9
Function name should be lowercase
PEP 8 naming convention violation: care/utils/tests/test_feature_flags.py#L12
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L40
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0394_auto_20231114_2219.py#L8
Variable in function should be lowercase
Method is not declared static: care/facility/api/serializers/asset.py#L413
Method `action_choices` may be 'static'
Method is not declared static: care/utils/ulid/models.py#L20
Method `get_internal_type` may be 'static'
Method is not declared static: care/facility/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L583
Method `validate_encounter_date` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L354
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/facility/api/viewsets/file_upload.py#L30
Method `has_permission` may be 'static'
Method is not declared static: care/facility/models/mixins/permissions/asset.py#L5
Method `has_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L162
Method `validate_features` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L108
Method `get_facility_flags` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L239
Method `_get_default_medium` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L64
Method `get_patient_count` may be 'static'
Method is not declared static: care/facility/api/viewsets/facility.py#L49
Method `filter_exclude_user` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L220
Method `has_facility_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L194
Method `validate_countries_travelled` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L203
Method `filter_is_permanent` may be 'static'
Method is not declared static: care/users/management/commands/load_data.py#L51
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L158
Method `get_patient` may be 'static'
Method is not declared static: care/facility/admin.py#L56
Method `lookups` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L793
Method `get_state_representation` may be 'static'
Method is not declared static: care/facility/api/viewsets/consultation_diagnosis.py#L69
Method `perform_update` may be 'static'
Method is not declared static: care/facility/api/serializers/events.py#L21
Method `get_children` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L798
Method `_convert_to_matchable_types` may be 'static'
Method is not declared static: care/facility/api/viewsets/bed.py#L167
Method `filter_bed_is_occupied` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L397
Method `get_linked_id` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L211
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L241
Method `check_facility_user_exists` may be 'static'
PEP 8 naming convention violation: care/users/migrations/0015_age_to_dateofbirth.py#L17
Variable in function should be lowercase
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L940
Method `clear_existing_records` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L129
Method `filter_by_category` may be 'static'
Method is not declared static: care/audit_log/apps.py#L9
Method `ready` may be 'static'
PEP 8 naming convention violation: care/facility/migrations/0466_camera_presets.py#L27
Variable in function should be lowercase
Method is not declared static: care/facility/api/viewsets/patient.py#L243
Method `filter_by_review_missed` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L244
Method `facility_query` may be 'static'
Method is not declared static: care/facility/api/serializers/inventory.py#L136
Method `set_burn_rate` may be 'static'
Method is not declared static: care/facility/api/serializers/encounter_symptom.py#L34
Method `validate_onset_date` may be 'static'
PEP 8 naming convention violation: care/users/tests/test_api.py#L126
Function name should be lowercase
Method is not declared static: care/facility/models/patient_sample.py#L209
Method `has_object_destroy_permission` may be 'static'
PEP 8 naming convention violation: care/facility/migrations/0367_auto_20230704_1646.py#L9
Variable in function should be lowercase
Method is not declared static: care/facility/api/serializers/patient.py#L427
Method `update` may be 'static'
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L500
Function name should be lowercase
Method is not declared static: care/facility/api/serializers/facility.py#L150
Method `validate_middleware_address` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L176
Method `get_discharge_prescription` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L502
Method `cztn` may be 'static'
PEP 8 naming convention violation: care/facility/migrations/0366_auto_20230627_1806.py#L9
Variable in function should be lowercase
Method is not declared static: care/facility/admin.py#L72
Method `lookups` may be 'static'
Method is not declared static: config/authentication.py#L266
Method `get_security_definition` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L131
Method `validate_facilities` may be 'static'
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L101
Variable in function should be lowercase
Method is not declared static: care/facility/models/daily_round.py#L655
Method `has_object_asset_write_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L237
Method `filter_bed_not_null` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L52
Method `validate_number_of_beds` may be 'static'
PEP 8 naming convention violation: care/users/tests/test_models.py#L58
Function name should be lowercase
Method is not declared static: care/users/management/commands/load_state_data.py#L19
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/viewsets/bed.py#L46
Method `filter_bed_is_not_occupied_by_asset_type` may be 'static'
PEP 8 naming convention violation: care/facility/tests/test_asset_api.py#L17
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations_old/0010_populate_district.py#L8
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L90
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/migrations/0015_age_to_dateofbirth.py#L6
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_api.py#L213
Function name should be lowercase
PEP 8 naming convention violation: care/utils/tests/test_image_validator.py#L13
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations/0010_rename_skills.py#L7
Variable in function should be lowercase
Method is not declared static: care/utils/notification_handler.py#L139
Method `deserialize_extra_data` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L288
Method `filter_by_has_consents` may be 'static'
Method is not declared static: config/authentication.py#L216
Method `get_security_definition` may be 'static'
Method is not declared static: config/authentication.py#L48
Method `authenticate_header` may be 'static'
Method is not declared static: care/facility/api/viewsets/facility.py#L56
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/models/prescription.py#L212
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/models/ambulance.py#L103
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L898
Method `validate_patient_code_status` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L339
Method `send_webpush_user` may be 'static'
Method is not declared static: config/authentication.py#L235
Method `get_security_definition` may be 'static'
Method is not declared static: care/users/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L66
Method `filter_home_facility` may be 'static'
Method is not declared static: care/utils/event_utils.py#L63
Method `default` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_external_test.py#L67
Method `has_permission` may be 'static'
Method is not declared static: care/utils/ulid/serializers.py#L18
Method `to_representation` may be 'static'
Method is not declared static: care/users/tests/test_api.py#L312
Method `get_payload` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L73
Method `get_user_type` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L189
Method `filter_in_use_by_consultation` may be 'static'
PEP 8 naming convention violation: care/facility/migrations/0381_merge_ip_op_no.py#L9
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L140
Function name should be lowercase
Method is not declared static: care/facility/api/viewsets/icd.py#L14
Method `retrieve` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L49
Method `validate_name` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L377
Method `has_profile_image_write_permission` may be 'static'
Method is not declared static: care/users/management/commands/load_lsg_data.py#L18
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/daily_round.py#L120
Method `validate_bp` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L129
Method `serialize_extra_data` may be 'static'
Method is not declared static: care/utils/models/validators.py#L330
Method `_humanize_bytes` may be 'static'
Method is not declared static: care/users/models.py#L382
Method `has_object_write_permission` may be 'static'
Method is not declared static: config/patient_otp_authentication.py#L63
Method `get_user` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L598
Method `validate_patient_no` may be 'static'
PEP 8 naming convention violation: care/users/tests/test_api.py#L16
Function name should be lowercase
Method is not declared static: care/facility/api/serializers/consultation_diagnosis.py#L15
Method `validate_verification_status` may be 'static'
PEP 8 naming convention violation: care/users/migrations_old/0010_populate_district.py#L9
Variable in function should be lowercase
Method is not declared static: care/facility/api/serializers/patient.py#L207
Method `validate_year_of_birth` may be 'static'
Method is not declared static: config/authentication.py#L204
Method `get_security_definition` may be 'static'
Method is not declared static: care/utils/assetintegration/base.py#L55
Method `_validate_response` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L49
Method `validate_middleware_address` may be 'static'
Method is not declared static: config/auth_views.py#L84
Method `validate` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L354
Method `filter_queryset` may be 'static'
Method is not declared static: care/users/api/viewsets/userskill.py#L13
Method `has_permission` may be 'static'
Accessing a protected member of a class or a module: care/audit_log/helpers.py#L29
Access to a protected member _meta of a class
Method is not declared static: care/facility/api/viewsets/patient.py#L264
Method `filter_by_diagnoses` may be 'static'
Accessing a protected member of a class or a module: care/contrib/sites/migrations/0001_initial.py#L2
Access to a protected member _simple_domain_name_validator of a class
Method is not declared static: care/users/api/serializers/user.py#L124
Method `validate_date_of_birth` may be 'static'
Accessing a protected member of a class or a module: care/facility/models/mixins/permissions/asset.py#L22
Access to a protected member _get_action of a class
Method is not declared static: care/facility/api/viewsets/daily_round.py#L24
Method `filter_rounds_type` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L92
Method `filter_bed_is_occupied` may be 'static'
Accessing a protected member of a class or a module: care/facility/events/handler.py#L28
Access to a protected member _meta of a class
Method is not declared static: care/facility/api/serializers/daily_round.py#L328
Method `validate_taken_at` may be 'static'
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L173
Access to a protected member _meta of a class
Method is not declared static: care/security/authorization/base.py#L24
Method `check_permission` may be 'static'
Accessing a protected member of a class or a module: care/utils/event_utils.py#L17
Access to a protected member _meta of a class
Method is not declared static: care/facility/models/resources.py#L137
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/encounter_symptom.py#L18
Method `filter_is_cured` may be 'static'
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L99
Access to a protected member _meta of a class
Method is not declared static: care/utils/serializers/fields.py#L30
Method `to_representation` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L340
Method `filter_list_queryset` may be 'static'
Accessing a protected member of a class or a module: care/contrib/sites/migrations/0002_alter_domain_unique.py#L15
Access to a protected member _simple_domain_name_validator of a class
Accessing a protected member of a class or a module: plugs/plug.py#L1
Access to a protected member _MISSING_TYPE of a class
Accessing a protected member of a class or a module: care/utils/event_utils.py#L42
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/helpers.py#L35
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L51
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/utils/event_utils.py#L54
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/helpers.py#L30
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/users/admin.py#L63
Access to a protected member _base_manager of a class
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L155
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/facility/models/facility.py#L309
Access to a protected member _base_manager of a class
Accessing a protected member of a class or a module: care/facility/models/asset.py#L65
Access to a protected member _name of a class
Shadowing names from outer scopes: care/facility/api/viewsets/patient_external_test.py#L32
Shadows name 'pretty_errors' from outer scope
Shadowing names from outer scopes: care/utils/tests/test_utils.py#L799
Shadows name 'd' from outer scope
Method is not declared static: config/authentication.py#L254
Method `get_security_definition` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L767
Method `get_local_body_representation` may be 'static'
Method is not declared static: care/facility/tests/test_medibase_api.py#L14
Method `get_url` may be 'static'
Method is not declared static: care/facility/models/prescription.py#L174
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/utils/models/validators.py#L177
Method `clean` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L238
Method `has_user_type_permission_elevation` may be 'static'
Method is not declared static: care/facility/api/serializers/consultation_diagnosis.py#L34
Method `get_diagnosis_object` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L208
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/utils/serializers/fields.py#L27
Method `to_internal_value` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L118
Method `validate_patient_in_contact` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L61
Method `get_bed_count` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L652
Method `has_object_asset_read_permission` may be 'static'
Method is not declared static: config/health_views.py#L21
Method `get` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_sample.py#L30
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/api/viewsets/icd.py#L11
Method `serialize_data` may be 'static'
Method is not declared static: config/patient_otp_authentication.py#L37
Method `get_validated_token` may be 'static'
Method is not declared static: care/facility/models/resources.py#L140
Method `has_object_transfer_permission` may be 'static'
Method is not declared static: care/security/authorization/facility.py#L21
Method `allowed_facilities` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L186
Method `get_discharge_prn_prescription` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L201
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L85
Method `last_active_after` may be 'static'
Method is not declared static: care/facility/api/viewsets/prescription.py#L187
Method `serialize_data` may be 'static'
Method is not declared static: care/users/tests/test_auth.py#L113
Method `create_reset_password_token` may be 'static'
Shadowing names from outer scopes: care/facility/utils/summarization/patient_summary.py#L10
Shadows name 'patient_summary' from outer scope
Method is not declared static: care/users/management/commands/load_ward_data.py#L19
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L379
Method `create` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L173
Method `has_object_write_permission` may be 'static'
Improper first parameter: care/facility/migrations/0395_alter_patientconsultation_route_to_facility.py#L56
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0444_patientconsultation_has_consents_and_more.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0464_alter_facilitycapacity_room_type_and_more.py#L13
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0438_alter_dailyround_patient_category_and_more.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/users/migrations_old/0046_auto_20230204_1733.py#L49
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L36
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0415_patientconsultation_previous_consultation.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0397_truncate_discharge_time.py#L16
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0367_auto_20230704_1646.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0319_file_upload_completed.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/abdm/migrations_old/0013_abhanumber_patient.py#L9
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L17
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0466_camera_presets.py#L25
Usually first parameter of a method is named 'self'