mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-05 15:03:33 +08:00
tidying
This commit is contained in:
parent
634ae77b7e
commit
3a374ee834
20
Makefile
20
Makefile
@ -632,43 +632,43 @@ check2-full:
|
|||||||
@tools/pcommand echo SGRN BLD ALL CHECKS PASSED!
|
@tools/pcommand echo SGRN BLD ALL CHECKS PASSED!
|
||||||
|
|
||||||
# Run Cpplint checks on all C/C++ code.
|
# Run Cpplint checks on all C/C++ code.
|
||||||
cpplint: prereqs
|
cpplint: prereqs meta
|
||||||
@tools/pcommand cpplint
|
@tools/pcommand cpplint
|
||||||
|
|
||||||
# Run Cpplint checks without caching (all files are checked).
|
# Run Cpplint checks without caching (all files are checked).
|
||||||
cpplint-full: prereqs
|
cpplint-full: prereqs meta
|
||||||
@tools/pcommand cpplint -full
|
@tools/pcommand cpplint -full
|
||||||
|
|
||||||
# Run Pylint checks on all Python Code.
|
# Run Pylint checks on all Python Code.
|
||||||
pylint: prereqs
|
pylint: prereqs meta
|
||||||
@tools/pcommand pylint
|
@tools/pcommand pylint
|
||||||
|
|
||||||
# Run Pylint checks without caching (all files are checked).
|
# Run Pylint checks without caching (all files are checked).
|
||||||
pylint-full: prereqs
|
pylint-full: prereqs meta
|
||||||
@tools/pcommand pylint -full
|
@tools/pcommand pylint -full
|
||||||
|
|
||||||
# Run Mypy checks on all Python code.
|
# Run Mypy checks on all Python code.
|
||||||
mypy: prereqs
|
mypy: prereqs meta
|
||||||
@tools/pcommand mypy
|
@tools/pcommand mypy
|
||||||
|
|
||||||
# Run Mypy checks without caching (all files are checked).
|
# Run Mypy checks without caching (all files are checked).
|
||||||
mypy-full: prereqs
|
mypy-full: prereqs meta
|
||||||
@tools/pcommand mypy -full
|
@tools/pcommand mypy -full
|
||||||
|
|
||||||
# Run Mypy checks on all Python code using daemon mode.
|
# Run Mypy checks on all Python code using daemon mode.
|
||||||
dmypy: prereqs
|
dmypy: prereqs meta
|
||||||
@tools/pcommand dmypy
|
@tools/pcommand dmypy
|
||||||
|
|
||||||
# Stop the mypy daemon
|
# Stop the mypy daemon
|
||||||
dmypy-stop: prereqs
|
dmypy-stop: prereqs meta
|
||||||
@tools/pcommand dmypy -stop
|
@tools/pcommand dmypy -stop
|
||||||
|
|
||||||
# Run PyCharm checks on all Python code.
|
# Run PyCharm checks on all Python code.
|
||||||
pycharm: prereqs
|
pycharm: prereqs meta
|
||||||
@tools/pcommand pycharm
|
@tools/pcommand pycharm
|
||||||
|
|
||||||
# Run PyCharm checks without caching (all files are checked).
|
# Run PyCharm checks without caching (all files are checked).
|
||||||
pycharm-full: prereqs
|
pycharm-full: prereqs meta
|
||||||
@tools/pcommand pycharm -full
|
@tools/pcommand pycharm -full
|
||||||
|
|
||||||
# Tell make which of these targets don't represent files.
|
# Tell make which of these targets don't represent files.
|
||||||
|
|||||||
@ -117,7 +117,7 @@ def _lazybuild_check_paths(inpaths: List[str], category: SourceCategory,
|
|||||||
continue
|
continue
|
||||||
for root, _dnames, fnames in os.walk(inpath):
|
for root, _dnames, fnames in os.walk(inpath):
|
||||||
|
|
||||||
# Only gen category uses generated src.
|
# Only the meta category uses meta src.
|
||||||
if (root.startswith('src/meta')
|
if (root.startswith('src/meta')
|
||||||
and category is not SourceCategory.META):
|
and category is not SourceCategory.META):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user