diff --git a/README.md b/README.md index f7fe56f..3ed4689 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,10 @@ Parse a file containing HTML: >>> mf2json {'items': [{'type': ['h-entry'], 'properties': {'name': ['Hello'], - 'content': [{'html': 'Just saying hi.', - 'value': 'Just saying hi.'}]}}], + 'content': [{'value': 'Just saying hi.', + 'lang': 'en-us', + 'html': 'Just saying hi.'}]}, + 'lang': 'en-us'}], 'rels': {}, 'rel-urls': {}, 'debug': {'description': 'mf2py - microformats2 parser for python', diff --git a/pyproject.toml b/pyproject.toml index 4ee0780..9a595fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,9 @@ pytest = "^7.2.1" black = "^23.3.0" isort = "^5.12.0" +[tool.pytest.ini_options] +doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL" + [tool.isort] profile = "black" diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 5a96837..0000000 --- a/pytest.ini +++ /dev/null @@ -1,2 +0,0 @@ -[pytest] -doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL