Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Feb 13, 2024
1 parent 6a7da07 commit 53b2cb5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pkgmt/fail_if_invalid_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from pathlib import Path

from pkgmt import changelog
from pkgmt.exceptions import ProjectValidationError


def latest_changelog_header(base_branch):
Expand Down Expand Up @@ -80,9 +79,9 @@ def check_modified(base_branch, include_path, debug=False):
)
return 1
elif extracted_text[0].strip() == "":
print(f"You have added an empty entry")
print(f"You have added an empty entry: {line}")
return 1
except subprocess.CalledProcessError as e:
except subprocess.CalledProcessError:
pass
return 0

Expand Down

0 comments on commit 53b2cb5

Please sign in to comment.