tools: Dropped python-modulefinder and disassembly.

- Modulefinder often has errors.
- Both tools aren't commonly used.
This commit is contained in:
Andrew Hamilton 2021-11-28 22:56:41 +10:00
parent 8f4b783e1e
commit 75a028272d
3 changed files with 3 additions and 17 deletions

View file

@ -31,10 +31,10 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
## Tools ## Tools
File types(100) | Tools(60) File types(100) | Tools(58)
----------:| ----- ----------:| -----
.* | [contents](http://pygments.org/) • [metadata](https://github.com/ahamilton/eris) • [git_diff](https://git-scm.com/docs/git-diff) • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log) .* | [contents](http://pygments.org/) • [metadata](https://github.com/ahamilton/eris) • [git_diff](https://git-scm.com/docs/git-diff) • [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) • [pytest](https://docs.pytest.org/en/latest/) • [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) • [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/) .py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pytest](https://docs.pytest.org/en/latest/) • [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) • [python_mccabe](https://pypi.org/project/mccabe/) • [bandit](https://pypi.org/project/bandit/)
.pl .pm .t | [perl_syntax](https://en.wikipedia.org/wiki/Perl) • [perldoc](http://perldoc.perl.org/) .pl .pm .t | [perl_syntax](https://en.wikipedia.org/wiki/Perl) • [perldoc](http://perldoc.perl.org/)
.p6 .pm6 | [perl6_syntax](https://rakudo.org/) .p6 .pm6 | [perl6_syntax](https://rakudo.org/)
.pod .pod6 | [perldoc](http://perldoc.perl.org/) .pod .pod6 | [perldoc](http://perldoc.perl.org/)

View file

@ -3,8 +3,7 @@
tools_for_extensions = [ tools_for_extensions = [
[["py"], ["python_syntax", "python_unittests", "pytest", "pydoc", "mypy", [["py"], ["python_syntax", "python_unittests", "pytest", "pydoc", "mypy",
"python_coverage", "pycodestyle", "pydocstyle", "pyflakes", "python_coverage", "pycodestyle", "pydocstyle", "pyflakes",
"pylint", "python_gut", "python_modulefinder", "dis", "pylint", "python_gut", "python_mccabe", "bandit"]],
"python_mccabe", "bandit"]],
# [["pyc"], ["pydisasm"]], # [["pyc"], ["pydisasm"]],
[["pl", "pm", "t"], ["perl_syntax", "perldoc"]], [["pl", "pm", "t"], ["perl_syntax", "perldoc"]],
[["p6", "pm6"], ["perl6_syntax"]], [["p6", "pm6"], ["perl6_syntax"]],
@ -78,11 +77,6 @@ tools_for_extensions = [
command = "python3.9 -m pylint -f colorized --errors-only" command = "python3.9 -m pylint -f colorized --errors-only"
has_color = true has_color = true
[python_modulefinder]
dependencies = []
url = "https://docs.python.org/3/library/modulefinder.html"
command = "python3.9 -m modulefinder"
[bandit] [bandit]
dependencies = ["python3-bandit"] dependencies = ["python3-bandit"]
url = "https://pypi.org/project/bandit/" url = "https://pypi.org/project/bandit/"
@ -121,11 +115,6 @@ tools_for_extensions = [
error_status = "not_applicable" error_status = "not_applicable"
has_color = true has_color = true
[dis]
dependencies = []
url = "https://docs.python.org/3/library/dis.html"
command = "python3.9 -m dis"
[objdump_headers] [objdump_headers]
dependencies = ["binutils"] dependencies = ["binutils"]
url = "https://en.wikipedia.org/wiki/Objdump" url = "https://en.wikipedia.org/wiki/Objdump"

View file

@ -103,9 +103,6 @@ class ToolsTestCase(unittest.TestCase):
def test_python_gut(self): def test_python_gut(self):
self._test_tool(tools.python_gut, self.HI_OK) self._test_tool(tools.python_gut, self.HI_OK)
def test_python_modulefinder(self):
self._test_tool(tools.python_modulefinder, self.HI_OK)
def test_python_mccabe(self): def test_python_mccabe(self):
self._test_tool(tools.python_mccabe, self.HI_OK) self._test_tool(tools.python_mccabe, self.HI_OK)