diff --git a/l10n_br_contract/models/contract_contract.py b/l10n_br_contract/models/contract_contract.py
index b2b1a0dbf350..ea57fdcb45dc 100644
--- a/l10n_br_contract/models/contract_contract.py
+++ b/l10n_br_contract/models/contract_contract.py
@@ -123,7 +123,7 @@ def _prepare_recurring_invoices_values(self, date_ref=False):
         for invoice_val in super_inv_vals:
             # Identify how many Document Types exist
             for inv_line in invoice_val.get("invoice_line_ids"):
-                if type(inv_line[2]) == list:
+                if type(inv_line[2]) is list:
                     continue
 
                 operation_line_id = self.env["l10n_br_fiscal.operation.line"].browse(
diff --git a/l10n_br_nfe/models/document.py b/l10n_br_nfe/models/document.py
index 732f49d08fac..f92e11fa0d53 100644
--- a/l10n_br_nfe/models/document.py
+++ b/l10n_br_nfe/models/document.py
@@ -899,7 +899,7 @@ def atualiza_status_nfe(self, processo):
         else:
             state = SITUACAO_EDOC_REJEITADA
         if self.authorization_event_id and infProt.nProt:
-            if type(infProt.dhRecbto) == datetime:
+            if type(infProt.dhRecbto) is datetime:
                 protocol_date = fields.Datetime.to_string(infProt.dhRecbto)
             else:
                 protocol_date = fields.Datetime.to_string(
diff --git a/l10n_br_stock_account_report/wizards/l10n_br_p7_model_inventory_report_wizard.py b/l10n_br_stock_account_report/wizards/l10n_br_p7_model_inventory_report_wizard.py
index 6b33aa257646..5c413c0c4c0d 100644
--- a/l10n_br_stock_account_report/wizards/l10n_br_p7_model_inventory_report_wizard.py
+++ b/l10n_br_stock_account_report/wizards/l10n_br_p7_model_inventory_report_wizard.py
@@ -228,7 +228,7 @@ def lines(self):
                 tmp_total_value_ncm = round(product_inventory_value, account_precision)
                 # A validação abaixo é necessária p/
                 # não preencher a primeira linha
-                if type(tmp_ncm_controler) != bool:
+                if type(tmp_ncm_controler) is not bool:
                     tmp_ncm_controler_line = True
 
             result_lines.append(
diff --git a/l10n_br_website_sale/controllers/main.py b/l10n_br_website_sale/controllers/main.py
index 51bf8a5394ea..860ed9f9fabd 100644
--- a/l10n_br_website_sale/controllers/main.py
+++ b/l10n_br_website_sale/controllers/main.py
@@ -94,7 +94,7 @@ def address(self, **kw):
             and res.qcontext["checkout"]["city_id"]
         ):
             state_id = res.qcontext["checkout"]["state_id"]
-            if type(state_id) != str:
+            if type(state_id) is not str:
                 state_id = state_id.id
             elif state_id:
                 state_id = int(state_id)
diff --git a/payment_pagseguro/models/payment_transaction.py b/payment_pagseguro/models/payment_transaction.py
index 2d249d186733..06b89fa0ba32 100644
--- a/payment_pagseguro/models/payment_transaction.py
+++ b/payment_pagseguro/models/payment_transaction.py
@@ -92,7 +92,7 @@ def pagseguro_s2s_capture_transaction(self):
         )
 
         if (
-            type(res) == dict
+            type(res) is dict
             and res.get("payment_response")
             and res.get("payment_response").get("message") == "SUCESSO"
         ):
@@ -136,7 +136,7 @@ def pagseguro_s2s_void_transaction(self):
         )
 
         if (
-            type(res) == dict
+            type(res) is dict
             and res.get("payment_response")
             and res.get("payment_response").get("message") == "SUCESSO"
         ):
diff --git a/spec_driven_model/models/spec_export.py b/spec_driven_model/models/spec_export.py
index 36c55353022b..9803132d72fc 100644
--- a/spec_driven_model/models/spec_export.py
+++ b/spec_driven_model/models/spec_export.py
@@ -149,7 +149,7 @@ def _export_field(self, xsd_field, class_obj, field_spec, export_value=None):
             return self._export_float_monetary(
                 xsd_field, xsd_type, class_obj, xsd_required, export_value
             )
-        elif type(self[xsd_field]) == str:
+        elif type(self[xsd_field]) is str:
             return self[xsd_field].strip()
         else:
             return self[xsd_field]