Skip to content

Commit 95ec60d

Browse files
committed
Fixed the latest copilot reviews
1 parent 6fba902 commit 95ec60d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/mdformat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
cache-dependency-glob: "**/pyproject.toml"
2828

2929
- name: Run mdformat (check only)
30-
run: uvx mdformat --check --wrap no --number docs/ *.md
30+
run: uvx --with mdformat-myst mdformat --check --wrap no --number docs/ *.md

hed/schema/schema_comparer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,9 @@ def _add_extras_changes(self, change_dict):
544544

545545
key_cols = UNIQUE_EXTRAS_KEYS.get(key)
546546
if not key_cols:
547-
key_cols = [c for c in set(df1.columns) & set(df2.columns) if c != _in_library]
547+
key_cols = sorted(c for c in set(df1.columns) & set(df2.columns) if c != _in_library)
548548

549-
compare_cols = [c for c in set(df1.columns) & set(df2.columns) if c != _in_library]
549+
compare_cols = sorted(c for c in set(df1.columns) & set(df2.columns) if c != _in_library)
550550
if not compare_cols:
551551
continue
552552

0 commit comments

Comments
 (0)