Skip to content

Commit

Permalink
[refs #482] Removing unecessary indent checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Crowder committed Feb 25, 2022
1 parent 38d37f6 commit 7066004
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 84 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This is mostly a "tidying up" release.
**New**:

* Added a `--quiet` command line option to suppress all output. Useful if you just want to know the exit code of prospector for scripting.
* Removed the prospector "indent checker" since this is now no longer in pylint `#482 <https://github.com/PyCQA/prospector/issues/482>_`

**Fixes**:

Expand Down
8 changes: 0 additions & 8 deletions prospector/tools/pylint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from prospector.message import Location, Message
from prospector.tools.base import ToolBase
from prospector.tools.pylint.collector import Collector
from prospector.tools.pylint.indent_checker import IndentChecker
from prospector.tools.pylint.linter import ProspectorLinter

_UNUSED_WILDCARD_IMPORT_RE = re.compile(r"^Unused import (.*) from wildcard import$")
Expand Down Expand Up @@ -75,13 +74,6 @@ def _prospector_configure(self, prospector_config, linter):
linter.enable("suppressed-message") # notification about a message being suppressed
linter.disable("deprecated-pragma") # notification about use of deprecated 'pragma' option

# disable the 'mixed indentation' warning, since it actually will only
# allow the indentation specified in the pylint configuration file; we
# replace it instead with our own version which is more lenient and
# configurable
indent_checker = IndentChecker(linter)
linter.register_checker(indent_checker)

max_line_length = prospector_config.max_line_length
for checker in linter.get_checkers():
if not hasattr(checker, "options"):
Expand Down
76 changes: 0 additions & 76 deletions prospector/tools/pylint/indent_checker.py

This file was deleted.

0 comments on commit 7066004

Please sign in to comment.