Skip to content

Commit

Permalink
Merge pull request #137 from jackdewinter/issue-136
Browse files Browse the repository at this point in the history
#136 : Tokenized_mar…
  • Loading branch information
jackdewinter authored Nov 18, 2021
2 parents 1ba5176 + 7e81c0a commit 17b014c
Show file tree
Hide file tree
Showing 5 changed files with 339 additions and 200 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- [link_helper.py](https://github.com/jackdewinter/pymarkdown/issues/128)
- [inline_processor.py](https://github.com/jackdewinter/pymarkdown/issues/130)
- [block_quote_processor.py](https://github.com/jackdewinter/pymarkdown/issues/134)
- [tokenized_markdown.py](https://github.com/jackdewinter/pymarkdown/issues/136)

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion publish/coverage.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"projectName": "pymarkdown", "reportSource": "pytest", "branchLevel": {"totalMeasured": 2950, "totalCovered": 2950}, "lineLevel": {"totalMeasured": 9836, "totalCovered": 9836}}
{"projectName": "pymarkdown", "reportSource": "pytest", "branchLevel": {"totalMeasured": 2954, "totalCovered": 2954}, "lineLevel": {"totalMeasured": 9872, "totalCovered": 9872}}
15 changes: 6 additions & 9 deletions publish/pylint_suppression.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"pymarkdown/bad_tokenization_error.py": {},
"pymarkdown/block_quote_processor.py": {
"too-many-arguments": 11,
"too-many-arguments": 10,
"too-many-locals": 4
},
"pymarkdown/coalesce_processor.py": {
Expand Down Expand Up @@ -208,10 +208,7 @@
"too-many-instance-attributes": 1
},
"pymarkdown/tokenized_markdown.py": {
"too-many-statements": 2,
"too-many-locals": 3,
"too-many-branches": 3,
"too-many-arguments": 1
"too-many-arguments": 4
},
"pymarkdown/transform_to_gfm.py": {
"too-many-instance-attributes": 1,
Expand All @@ -221,14 +218,14 @@
"pymarkdown/version.py": {}
},
"disables-by-name": {
"too-many-arguments": 123,
"too-many-locals": 41,
"too-many-arguments": 125,
"too-many-locals": 38,
"too-few-public-methods": 17,
"broad-except": 6,
"no-self-use": 1,
"too-many-instance-attributes": 15,
"too-many-statements": 3,
"too-many-branches": 5,
"too-many-statements": 1,
"too-many-branches": 2,
"too-many-public-methods": 2,
"no-member": 1,
"invalid-unary-operand-type": 1
Expand Down
4 changes: 2 additions & 2 deletions pymarkdown/block_quote_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def __should_continue_processing(

# pylint: enable=too-many-arguments

# pylint: disable=too-many-arguments, too-many-locals
# pylint: disable=too-many-locals
@staticmethod
def __handle_block_quote_section(
parser_state,
Expand Down Expand Up @@ -650,7 +650,7 @@ def __handle_block_quote_section(
requeue_line_info,
)

# pylint: enable=too-many-arguments, too-many-locals
# pylint: enable=too-many-locals

# pylint: disable=too-many-arguments, too-many-locals
@staticmethod
Expand Down
Loading

0 comments on commit 17b014c

Please sign in to comment.