fix(Codacy): Deleted unused imports and files

This commit is contained in:
deepeshgarg007 2019-01-02 13:24:12 +05:30
parent de1e6fc1c4
commit 8c4bd951a8
9 changed files with 15 additions and 35 deletions

View File

@ -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
}
}

View File

@ -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
// }

View File

@ -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')

View File

@ -2,7 +2,7 @@
// For license information, please see license.txt
frappe.ui.form.on('Lost Reason Detail', {
refresh: function(frm) {
refresh: function() {
}
});

View File

@ -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):

View File

@ -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

View File

@ -2,7 +2,7 @@
// For license information, please see license.txt
frappe.ui.form.on('Opportunity Lost Reason', {
refresh: function(frm) {
refresh: function() {
}
});

View File

@ -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):

View File

@ -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