Skip to content

Commit

Permalink
Fix linting of v0 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Jan 13, 2025
1 parent c19a86f commit 689d15d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion conda_smithy/linter/lints.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,11 @@ def lint_noarch_and_runtime_dependencies(

def lint_package_version(package_section, lints):
version = package_section.get("version")
_lint_package_version(str(version) if version is not None else None)
lint_msg = _lint_package_version(
str(version) if version is not None else None
)
if lint_msg:
lints.append(lint_msg)


def lint_jinja_variables_definitions(meta_fname, lints):
Expand Down

0 comments on commit 689d15d

Please sign in to comment.