Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
1bac23b9
Commit
1bac23b9
authored
Aug 09, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Aug 18, 2024
Browse files
Makefile: move definition of typecheck-python and lint-python targets here
parent
d64fbc3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
37 deletions
+11
-37
Makefile
Makefile
+11
-1
experiments/rules.mk
experiments/rules.mk
+0
-36
No files found.
Makefile
View file @
1bac23b9
...
@@ -45,7 +45,6 @@ $(eval $(call subdir,sims))
...
@@ -45,7 +45,6 @@ $(eval $(call subdir,sims))
$(eval
$(call
subdir,dist))
$(eval
$(call
subdir,dist))
$(eval
$(call
subdir,doc))
$(eval
$(call
subdir,doc))
$(eval
$(call
subdir,images))
$(eval
$(call
subdir,images))
$(eval
$(call
subdir,experiments))
all
:
$(ALL_ALL)
all
:
$(ALL_ALL)
...
@@ -94,6 +93,17 @@ format-isort:
...
@@ -94,6 +93,17 @@ format-isort:
isort
--skip
experiments/simbricks/orchestration/utils/graphlib.py
\
isort
--skip
experiments/simbricks/orchestration/utils/graphlib.py
\
results/ experiments/ doc/
results/ experiments/ doc/
lint-python
:
pylint
-d
missing-module-docstring,missing-class-docstring
\
--ignore-paths
experiments/simbricks/orchestration/utils/graphlib.py
\
experiments/ results/
typecheck-python
:
pytype
-j
0
--keep-going
\
--exclude
experiments/pyexps/ae/
\
experiments/simbricks/orchestration/utils/graphlib.py
\
--
experiments/ results/
lint
:
lint-cpplint lint-clang-format lint-python
lint
:
lint-cpplint lint-clang-format lint-python
lint-all
:
lint lint-clang-tidy typecheck-python
lint-all
:
lint lint-clang-tidy typecheck-python
...
...
experiments/rules.mk
deleted
100644 → 0
View file @
d64fbc3a
# Copyright 2022 Max Planck Institute for Software Systems, and
# National University of Singapore
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
include
mk/subdir_pre.mk
lint-python
:
pylint
-d
missing-module-docstring,missing-class-docstring
\
--ignore-paths
experiments/simbricks/orchestration/utils/graphlib.py
\
experiments/ results/
typecheck-python
:
pytype
-j
0
--keep-going
\
--exclude
experiments/pyexps/ae/
\
experiments/simbricks/orchestration/utils/graphlib.py
\
--
experiments/ results/
include
mk/subdir_post.mk
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment