diff --git a/README.md b/README.md index 3305a56..2f13c3b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ then to run: ### Tools -Extensions(93) | Tools(55) +Extensions(93) | Tools(54) ----------:| ----- .* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log) .py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://mypy-lang.org/) • [python_coverage](https://coverage.readthedocs.io/) • [pycodestyle](http://pycodestyle.pycqa.org/en/latest/) • [pydocstyle](http://www.pydocstyle.org/en/2.1.1/usage.html) • [pyflakes](https://pypi.org/project/pyflakes/) • [pylint](https://www.pylint.org/) • [python_gut](https://github.com/ahamilton/eris/blob/master/gut.py) • [python_modulefinder](https://docs.python.org/3/library/modulefinder.html) • [dis](https://docs.python.org/3/library/dis.html) • [python_mccabe](https://pypi.org/project/mccabe/) • [bandit](https://pypi.org/project/bandit/) @@ -38,7 +38,7 @@ Extensions(93) | Tools(55) .go | [go_vet](https://golang.org) • [golint](https://github.com/golang/lint) • [godoc](http://golang.org/x/tools) .bash .sh .dash .ksh | [shellcheck](https://www.shellcheck.net/) .pdf | [pdf2txt](https://github.com/pdfminer/pdfminer.six) -.html .htm | [html_syntax](http://www.html-tidy.org/) • [tidy](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/) • [pandoc](https://pandoc.org/) +.html .htm | [html_syntax](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/) • [pandoc](https://pandoc.org/) .yaml .yml | [yamllint](https://github.com/adrienverge/yamllint) .md .epub .docx .odt .rst | [pandoc](https://pandoc.org/) .zip .jar .apk .egg .whl | [zipinfo](http://www.info-zip.org/UnZip.html) diff --git a/eris/tools.py b/eris/tools.py index ea229d0..07c377d 100644 --- a/eris/tools.py +++ b/eris/tools.py @@ -429,12 +429,6 @@ def html_syntax(path): return status, fill3.Text(stderr) -@deps(deps={"tidy"}, url="tidy", executables={"tidy"}) -def tidy(path): - stdout, *rest = _do_command(["tidy", path]) - return Status.normal, fill3.Text(stdout) - - MAX_IMAGE_SIZE = 200 diff --git a/eris/tools.toml b/eris/tools.toml index be98c22..cfca9db 100644 --- a/eris/tools.toml +++ b/eris/tools.toml @@ -20,7 +20,7 @@ tools_for_extensions = [ [["go"], ["go_vet", "golint", "godoc"]], [["bash", "sh", "dash", "ksh"], ["shellcheck"]], [["pdf"], ["pdf2txt"]], - [["html", "htm"], ["html_syntax", "tidy", "html2text", "pandoc"]], + [["html", "htm"], ["html_syntax", "html2text", "pandoc"]], [["yaml", "yml"], ["yamllint"]], [["md", "epub", "docx", "odt", "rst"], ["pandoc"]], [["zip", "jar", "apk", "egg", "whl"], ["zipinfo"]], diff --git a/tests/golden-files/results/tidy-hi_html b/tests/golden-files/results/tidy-hi_html deleted file mode 100644 index 9236dee..0000000 --- a/tests/golden-files/results/tidy-hi_html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - -hello - - \ No newline at end of file diff --git a/tests/tools_test.py b/tests/tools_test.py index 2a3012f..a02a555 100755 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -188,9 +188,6 @@ class ToolsTestCase(unittest.TestCase): def test_html_syntax(self): self._test_tool(tools.html_syntax, [("hi.html", tools.Status.problem)]) - def test_tidy(self): - self._test_tool(tools.tidy, [("hi.html", tools.Status.normal)]) - def test_html2text(self): self._test_tool(tools.html2text, [("hi.html", tools.Status.normal)])