fix(Codacy): Deleted unused imports and files
diff --git a/.eslintrc b/.eslintrc
index fd3968d..757aa3c 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -137,6 +137,12 @@
 		"get_server_fields": true,
 		"set_multiple": true,
 		"QUnit": true,
-		"Chart": true
+		"Chart": true,
+		"Cypress": true,
+		"cy": true,
+		"it": true,
+		"context": true,
+		"before": true,
+		"beforeEach": true
 	}
 }
diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js
index fd170fb..cd02c3b 100644
--- a/cypress/plugins/index.js
+++ b/cypress/plugins/index.js
@@ -11,7 +11,7 @@
 // This function is called when a project is opened or re-opened (e.g. due to
 // the project's config changing)
 
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-}
+// module.exports = (on, config) => {
+//   `on` is used to hook into various events Cypress emits
+//   `config` is the resolved Cypress config
+// }
diff --git a/cypress/support/index.js b/cypress/support/index.js
index cca7364..872df2d 100644
--- a/cypress/support/index.js
+++ b/cypress/support/index.js
@@ -14,9 +14,9 @@
 // ***********************************************************
 
 // import frappe commands
-import '../../../frappe/cypress/support/index'
+import '../../../frappe/cypress/support/index';
 // Import commands.js using ES2015 syntax:
-import './commands'
+import './commands';
 
 // Alternatively you can use CommonJS syntax:
 // require('./commands')
diff --git a/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.js b/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.js
index ef80089..08fbdad 100644
--- a/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.js
+++ b/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.js
@@ -2,7 +2,7 @@
 // For license information, please see license.txt
 
 frappe.ui.form.on('Lost Reason Detail', {
-	refresh: function(frm) {
+	refresh: function() {
 
 	}
 });
diff --git a/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.py b/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.py
index 6d710fe..3baa011 100644
--- a/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.py
+++ b/erpnext/crm/doctype/lost_reason_detail/lost_reason_detail.py
@@ -3,7 +3,6 @@
 # For license information, please see license.txt
 
 from __future__ import unicode_literals
-import frappe
 from frappe.model.document import Document
 
 class LostReasonDetail(Document):
diff --git a/erpnext/crm/doctype/lost_reason_detail/test_lost_reason_detail.py b/erpnext/crm/doctype/lost_reason_detail/test_lost_reason_detail.py
deleted file mode 100644
index c7a611a..0000000
--- a/erpnext/crm/doctype/lost_reason_detail/test_lost_reason_detail.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-import frappe
-import unittest, time
-from frappe.utils.selenium_testdriver import TestDriver
-from erpnext.crm.doctype.opportunity.test_opportunity import make_opportunity
-
-class TestLostReason(unittest.TestCase):
-	pass
-
-
diff --git a/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.js b/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.js
index cbabdef..877dd59 100644
--- a/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.js
+++ b/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.js
@@ -2,7 +2,7 @@
 // For license information, please see license.txt
 
 frappe.ui.form.on('Opportunity Lost Reason', {
-	refresh: function(frm) {
+	refresh: function() {
 
 	}
 });
diff --git a/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.py b/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.py
index f3a824b..48b63b0 100644
--- a/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.py
+++ b/erpnext/crm/doctype/opportunity_lost_reason/opportunity_lost_reason.py
@@ -3,7 +3,6 @@
 # For license information, please see license.txt
 
 from __future__ import unicode_literals
-import frappe
 from frappe.model.document import Document
 
 class OpportunityLostReason(Document):
diff --git a/erpnext/crm/doctype/opportunity_lost_reason/test_opportunity_lost_reason.py b/erpnext/crm/doctype/opportunity_lost_reason/test_opportunity_lost_reason.py
deleted file mode 100644
index 07cf0ef..0000000
--- a/erpnext/crm/doctype/opportunity_lost_reason/test_opportunity_lost_reason.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-import frappe
-import unittest
-
-class TestOpportunityLostReason(unittest.TestCase):
-	pass