Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Sep 12, 2024
1 parent ebaaeb9 commit 4e6911b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions utils/check_api_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@
# TODO(Unassigned): make dtypes reference page as well
files = {remove_suffix(i, ".py") for i in os.listdir("narwhals")}
top_level_functions = [
i
for i in nw.__dir__()
if not i[0].isupper()
and i[0] != "_"
and i not in files
and i not in {"annotations", "DataFrame", "LazyFrame", "Series"}
i for i in nw.__dir__() if not i[0].isupper() and i[0] != "_" and i not in files
]
with open("docs/api-reference/narwhals.md") as fd:
content = fd.read()
Expand Down

0 comments on commit 4e6911b

Please sign in to comment.