tools: Remove missed code formatter.
This commit is contained in:
parent
66495cdf7d
commit
be489b0628
5 changed files with 3 additions and 23 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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"]],
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content=
|
||||
"HTML Tidy for HTML5 for Linux version 5.2.0">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
hello
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -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)])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue