File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 99TEMPLATE_DEBUG = DEBUG
1010TESTING = len (sys .argv ) > 1 and sys .argv [1 ] == 'test'
1111
12+ PROJECT_ROOT = abspath (join (dirname (__file__ ), '..' ))
13+
1214ADMINS = (
1315 # ('Your Name', 'your_email@example.com'),
1416)
177179 'django_jenkins.tasks.django_tests' ,
178180 'django_jenkins.tasks.run_pep8' ,
179181 # 'django_jenkins.tasks.run_sloccount',
180- 'django_jenkins.tasks.run_jslint ' ,
182+ 'django_jenkins.tasks.run_jshint ' ,
181183 #'django_jenkins.tasks.run_csslint',
182184 #'django_jenkins.tasks.with_local_celery',
183185 )
184- PYLINT_RCFILE = abspath (join (dirname (__file__ ), '..' , 'pylint.rc' ))
186+ PYLINT_RCFILE = join (PROJECT_ROOT , 'pylint.rc' )
187+ PEP8_RCFILE = join (PROJECT_ROOT , 'pep8.rc' )
185188
186189if DEBUG :
187190 try :
You can’t perform that action at this time.
0 commit comments