Skip to content

Commit

Permalink
Update entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jul 3, 2024
1 parent d693351 commit c40ac51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_pygments.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_formatter_entry_points():
entry_id = camel2under(name).replace("_", "-")
entry_points[entry_id] = f"click_extra.pygments:{name}"

check_entry_points(entry_points, "tool", "poetry", "plugins", "pygments.formatters")
check_entry_points(entry_points, "project", "entry-points", "pygments.formatters")


def test_filter_entry_points():
Expand All @@ -186,7 +186,7 @@ def test_filter_entry_points():
entry_id = camel2under(name).replace("_", "-")
entry_points[entry_id] = f"click_extra.pygments:{name}"

check_entry_points(entry_points, "tool", "poetry", "plugins", "pygments.filters")
check_entry_points(entry_points, "project", "entry-points", "pygments.filters")


def test_lexer_entry_points():
Expand All @@ -205,7 +205,7 @@ def test_lexer_entry_points():
class_path = f"click_extra.pygments:{ansi_lexer_id}"
entry_points[entry_id] = class_path

check_entry_points(entry_points, "tool", "poetry", "plugins", "pygments.lexers")
check_entry_points(entry_points, "project", "entry-points", "pygments.lexers")


def test_registered_formatters():
Expand Down

0 comments on commit c40ac51

Please sign in to comment.