From 5ee059269b81fd64d8ef7e2ad8628c7fb45e050a Mon Sep 17 00:00:00 2001 From: Rob Nagler <5495179+robnagler@users.noreply.github.com> Date: Tue, 28 Apr 2026 16:20:14 +0000 Subject: [PATCH 1/2] fix #644 exclude static/wp_en from check_eof_newline (scraped third-party content) Co-Authored-By: Claude Sonnet 4.6 --- pykern/pkcli/ci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pykern/pkcli/ci.py b/pykern/pkcli/ci.py index ecdc5afa..50d53821 100644 --- a/pykern/pkcli/ci.py +++ b/pykern/pkcli/ci.py @@ -19,7 +19,7 @@ #: static/js/ext is where Sirepo stores 3rd party library files _CHECK_FILES = PKDict( check_eof_newline=PKDict( - exclude_files=re.compile(r"/static/js/ext/|node_modules/|^run/|^tests/|^venv/"), + exclude_files=re.compile(r"/static/js/ext/|/static/wp_en/|node_modules/|^run/|^tests/|^venv/"), include_files=re.compile(r"\.(html|jinja|js|json|md|py|tsx|yml)$"), ), check_main=PKDict( From af75944dedc2ccebf382ac07ee7f08dba909ade1 Mon Sep 17 00:00:00 2001 From: Rob Nagler <5495179+robnagler@users.noreply.github.com> Date: Tue, 28 Apr 2026 16:23:25 +0000 Subject: [PATCH 2/2] fix #644 fmt Co-Authored-By: Claude Sonnet 4.6 --- pykern/pkcli/ci.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pykern/pkcli/ci.py b/pykern/pkcli/ci.py index 50d53821..5cc02aff 100644 --- a/pykern/pkcli/ci.py +++ b/pykern/pkcli/ci.py @@ -19,7 +19,9 @@ #: static/js/ext is where Sirepo stores 3rd party library files _CHECK_FILES = PKDict( check_eof_newline=PKDict( - exclude_files=re.compile(r"/static/js/ext/|/static/wp_en/|node_modules/|^run/|^tests/|^venv/"), + exclude_files=re.compile( + r"/static/js/ext/|/static/wp_en/|node_modules/|^run/|^tests/|^venv/" + ), include_files=re.compile(r"\.(html|jinja|js|json|md|py|tsx|yml)$"), ), check_main=PKDict(