From 65dc24e786d898e2e0244767e1043a39510bb8ee Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 19 Oct 2026 15:31:16 +0300 Subject: [PATCH] Only check README.rst not README --- src/blurb/_cli.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/blurb/_cli.py b/src/blurb/_cli.py index fa21b5d..e7df3ac 100644 --- a/src/blurb/_cli.py +++ b/src/blurb/_cli.py @@ -154,10 +154,7 @@ def test_first_line(filename, test): return False return True - if not ( - test_first_line('README', readme_re) - or test_first_line('README.rst', readme_re) - ): + if not test_first_line('README.rst', readme_re): continue if not test_first_line('LICENSE', 'A. HISTORY OF THE SOFTWARE'.__eq__):