Skip to content

Commit

Permalink
#138 - removing code with pylint warnings for too many statements and…
Browse files Browse the repository at this point in the history
… branches
  • Loading branch information
jackdewinter committed Nov 18, 2021
1 parent 17b014c commit e7839b5
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 201 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- [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)
- [main.py + inline_helper.py + rule md027](https://github.com/jackdewinter/pymarkdown/issues/138)

### 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": 2954, "totalCovered": 2954}, "lineLevel": {"totalMeasured": 9872, "totalCovered": 9872}}
{"projectName": "pymarkdown", "reportSource": "pytest", "branchLevel": {"totalMeasured": 2956, "totalCovered": 2956}, "lineLevel": {"totalMeasured": 9900, "totalCovered": 9900}}
16 changes: 5 additions & 11 deletions publish/pylint_suppression.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
"pymarkdown/inline_helper.py": {
"too-few-public-methods": 2,
"too-many-instance-attributes": 2,
"too-many-arguments": 2,
"too-many-locals": 1,
"too-many-statements": 1
"too-many-arguments": 3,
"too-many-locals": 1
},
"pymarkdown/inline_markdown_token.py": {
"too-many-arguments": 7,
Expand Down Expand Up @@ -103,8 +102,7 @@
"too-many-locals": 4
},
"pymarkdown/main.py": {
"broad-except": 2,
"too-many-branches": 1
"broad-except": 2
},
"pymarkdown/markdown_token.py": {
"too-many-public-methods": 1,
Expand Down Expand Up @@ -162,9 +160,7 @@
"pymarkdown/plugins/rule_md_024.py": {},
"pymarkdown/plugins/rule_md_025.py": {},
"pymarkdown/plugins/rule_md_026.py": {},
"pymarkdown/plugins/rule_md_027.py": {
"too-many-branches": 1
},
"pymarkdown/plugins/rule_md_027.py": {},
"pymarkdown/plugins/rule_md_028.py": {},
"pymarkdown/plugins/rule_md_029.py": {},
"pymarkdown/plugins/rule_md_030.py": {
Expand Down Expand Up @@ -218,14 +214,12 @@
"pymarkdown/version.py": {}
},
"disables-by-name": {
"too-many-arguments": 125,
"too-many-arguments": 126,
"too-many-locals": 38,
"too-few-public-methods": 17,
"broad-except": 6,
"no-self-use": 1,
"too-many-instance-attributes": 15,
"too-many-statements": 1,
"too-many-branches": 2,
"too-many-public-methods": 2,
"no-member": 1,
"invalid-unary-operand-type": 1
Expand Down
Loading

0 comments on commit e7839b5

Please sign in to comment.