fix: linting

This commit is contained in:
Rushabh Mehta 2019-02-19 11:08:07 +05:30
parent e9984672ce
commit 2d2d176e5c
6 changed files with 7 additions and 7 deletions

1
.pylintrc Normal file
View File

@ -0,0 +1 @@
disable=access-member-before-definition

View File

@ -14,8 +14,8 @@ class TestProject(unittest.TestCase):
def test_project_with_template(self):
template = get_project_template()
frappe.db.sql('delete from tabTask where project = "Test Project with Template"')
frappe.delete_doc('Project', 'Test Project with Template')
# frappe.db.sql('delete from tabTask where project = "Test Project with Template"')
# frappe.delete_doc('Project', 'Test Project with Template')
project = frappe.get_doc(dict(
doctype = 'Project',

View File

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

View File

@ -3,7 +3,7 @@
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
# import frappe
from frappe.model.document import Document
class ProjectTemplate(Document):

View File

@ -1,5 +1,4 @@
from __future__ import unicode_literals
from frappe import _
def get_data():
return {

View File

@ -3,7 +3,7 @@
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
# import frappe
from frappe.model.document import Document
class ProjectTemplateTask(Document):