Skip to content

Commit

Permalink
Merge pull request #3 from anevis/chore/add-dependabot
Browse files Browse the repository at this point in the history
Create dependabot.yml
  • Loading branch information
anevis authored Apr 7, 2024
2 parents bce8c51 + a0214d9 commit 07fc858
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "[dependabot] "
assignees:
- "anevis:
labels:
- "dependabot"
19 changes: 19 additions & 0 deletions src/yaml_to_markdown/md_converter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ def test_process_list(self) -> None:
| Section1 |
| --- |
| data1 |
"""
)

def test_process_list_of_list(self) -> None:
output_writer = StringIO()
md_converter = MDConverter()
data = [["list1 data1", "list1 data2"], ["list2 data1", "list2 data2"]]

md_converter.convert(data, output_writer)
output = output_writer.getvalue()

assert (
output
== """##
* list1 data1
* list1 data2
* list2 data1
* list2 data2
"""
)

Expand Down

0 comments on commit 07fc858

Please sign in to comment.