diff --git a/.travis.yml b/.travis.yml index 386d2310..7abb73a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,11 @@ install: python: - '2.7' - '3.6' + - '3.8' + - 'nightly' branches: only: - master -script: ./tcipylint \ No newline at end of file +script: ./tcipylint diff --git a/cime_config/buildnml b/cime_config/buildnml index ee9b0f1f..9d18d713 100755 --- a/cime_config/buildnml +++ b/cime_config/buildnml @@ -565,7 +565,6 @@ def buildnml(case, caseroot, component): shutil.copy(filename, rundir) # copy fd_cesm.yaml to rundir - cimeroot = case.get_value("CIMEROOT") fd_dir = os.path.join(os.path.dirname(__file__),os.pardir,"mediator") coupling_mode = case.get_value('COUPLING_MODE') if coupling_mode == 'cesm': diff --git a/tcipylint b/tcipylint index 6e020a08..e9517f94 100755 --- a/tcipylint +++ b/tcipylint @@ -3,6 +3,6 @@ args="--disable=I,C,R,logging-not-lazy,wildcard-import,unused-wildcard-import,fi failed=0 for file in cime_config/buildexe cime_config/buildnml cime_config/runseq/* do - pylint $args $file || failed=$failed+1 + pylint $args $file || failed=$(( failed + 1 )) done exit $failed