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
2 changes: 1 addition & 1 deletion deps/tests/bump/main/input/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
click==6.0
six==1.16.0
2 changes: 1 addition & 1 deletion deps/tests/bump/main/output/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
click==8.3.2
six==1.17.0
9 changes: 4 additions & 5 deletions markdown/long_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
from pathlib import Path

from tree_sitter_markdown import language, inline_language
from tree_sitter import Parser, Language, QueryCursor
from tree_sitter import Language, Parser, Query, QueryCursor

block_language = Language(language())
block_parser = Parser(block_language)

link_reference_def = block_language.query("(link_reference_definition) @node")
section = block_language.query("(section) @node")
inline = block_language.query("(inline) @node")
link_reference_def = Query(block_language, "(link_reference_definition) @node")
inline = Query(block_language, "(inline) @node")

inline_language = Language(inline_language())
inline_parser = Parser(inline_language)
inline_link = inline_language.query("(inline_link) @node")
inline_link = Query(inline_language, "(inline_link) @node")

def node_matches(query, node):
for idx, match in QueryCursor(query).matches(node):
Expand Down
14 changes: 7 additions & 7 deletions pytest/tests/fixture_names/main/output/output.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_example.py:9:4: no need to make things look private in tests: '_plain_fixture'
test_example.py:15:4: no need to make things look private in tests: '_called_fixture'
test_example.py:21:4: no need to make things look private in tests: '_autouse_fixture'
test_example.py:27:4: no need to make things look private in tests: '_direct_fixture'
test_example.py:33:4: no need to make things look private in tests: '_aliased_module_fixture'
test_example.py:39:4: no need to make things look private in tests: '_aliased_direct_fixture'
test_example.py:45:10: no need to make things look private in tests: '_async_fixture'
tests/test_example.py:9:4: no need to make things look private in tests: '_plain_fixture'
tests/test_example.py:15:4: no need to make things look private in tests: '_called_fixture'
tests/test_example.py:21:4: no need to make things look private in tests: '_autouse_fixture'
tests/test_example.py:27:4: no need to make things look private in tests: '_direct_fixture'
tests/test_example.py:33:4: no need to make things look private in tests: '_aliased_module_fixture'
tests/test_example.py:39:4: no need to make things look private in tests: '_aliased_direct_fixture'
tests/test_example.py:45:10: no need to make things look private in tests: '_async_fixture'
Loading