From 185664824e31ec6475d0431a8e8c3d64cd10d667 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 31 May 2021 12:01:05 -0400 Subject: [PATCH] address LGTM issues --- tools/coding_standard/homepage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/coding_standard/homepage.py b/tools/coding_standard/homepage.py index 299729f15d..444befec36 100644 --- a/tools/coding_standard/homepage.py +++ b/tools/coding_standard/homepage.py @@ -34,7 +34,7 @@ patterns: """ def check_homepage(f): - pattern = re.compile(r'.*lammps.sandia.gov.*') + pattern = re.compile(r'.*lammps.sandia.gov.*') # lgtm [py/incomplete-hostname-regexp] lineno = 1 errors = set() @@ -48,7 +48,7 @@ def check_homepage(f): def check_file(path): if path.find('homepage.py') >= 0: return { 'homepage_errors' : '' } encoding = 'UTF-8' - whitespace_errors = set() + homepage_errors = set() try: with open(path, 'r') as f: homepage_errors = check_homepage(f)