commit | b633e0cec122de67fba7f324095db39e638fdd70 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Wed May 20 13:14:36 2020 -0700 |
committer | CQ Bot Account <commit-bot@chromium.org> | Thu May 21 16:11:25 2020 +0000 |
tree | ffdc5704f888c52ae97b972a20e031d7d160bf46 | |
parent | 388d4b9b03d6eaf8282afbbbd76f47f3cab879a4 [diff] |
pw_presubmit: Remove compatibility aliases Change-Id: Ia3605447a4f391d61bf659b0add7b0eea879c03f
diff --git a/pw_presubmit/py/pw_presubmit/format_code.py b/pw_presubmit/py/pw_presubmit/format_code.py index be4d282..e41b3ec 100755 --- a/pw_presubmit/py/pw_presubmit/format_code.py +++ b/pw_presubmit/py/pw_presubmit/format_code.py
@@ -320,10 +320,6 @@ presubmit_check(fmt, **filter_paths_args) for fmt in CODE_FORMATS) -# TODO(hepler): Remove this teporary variable; always use the function instead. -PRESUBMIT_CHECKS = presubmit_checks() - - class CodeFormatter: """Checks or fixes the formatting of a set of files.""" def __init__(self, files: Collection[Path]):
diff --git a/pw_presubmit/py/pw_presubmit/python_checks.py b/pw_presubmit/py/pw_presubmit/python_checks.py index 15de5cb..6b08fb2 100644 --- a/pw_presubmit/py/pw_presubmit/python_checks.py +++ b/pw_presubmit/py/pw_presubmit/python_checks.py
@@ -98,9 +98,6 @@ mypy, ) -# TODO(hepler): Remove this teporary alias; use the function instead. -ALL = _ALL_CHECKS - def all_checks(endswith='.py', **filter_paths_args): return tuple(