Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2026 Knitli Inc.

SPDX-License-Identifier: MIT OR Apache-2.0
-->

## [unreleased]

### 🐛 Bug Fixes
Expand Down
4 changes: 4 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Knitli Inc.
#
# SPDX-License-Identifier: MIT OR Apache-2.0

# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration

Expand Down
3 changes: 1 addition & 2 deletions src/exportify/validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def validate_file(
Returns:
Tuple of (list of issues, count of lateimport calls, parsed AST tree or None)
"""
issues, _, _ = self._validate_file_with_metrics(file_path)
return issues
return self._validate_file_with_metrics(file_path)

def _validate_file_with_metrics(
self, file_path: Path
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ast_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_annotated_assignment_attribute_target(self, parser) -> None:
"""
file_path = create_temp_file(content)
try:
result = parser.parse_file(file_path, "test.module")
result = parser.parse_file(file_path)

assert len(result.symbols) == 0
finally:
Expand Down
Loading