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
7dfdc0a5
Commit
7dfdc0a5
authored
Aug 09, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Aug 18, 2024
Browse files
Makefile: combine pylint and pytype into lint-python target
parent
1bac23b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
.github/workflows/lint-pylint.yml
.github/workflows/lint-pylint.yml
+3
-3
Makefile
Makefile
+3
-2
No files found.
.github/workflows/lint-py
thon
.yml
→
.github/workflows/lint-py
lint
.yml
View file @
7dfdc0a5
name
:
lint-py
thon
name
:
lint-py
lint
on
:
on
:
pull_request
:
pull_request
:
...
@@ -6,7 +6,7 @@ on:
...
@@ -6,7 +6,7 @@ on:
branches
:
[
main
]
branches
:
[
main
]
jobs
:
jobs
:
lint-py
thon
:
lint-py
lint
:
runs-on
:
ubuntu-22.04
runs-on
:
ubuntu-22.04
steps
:
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
...
@@ -16,4 +16,4 @@ jobs:
...
@@ -16,4 +16,4 @@ jobs:
architecture
:
'
x64'
architecture
:
'
x64'
cache
:
pip
cache
:
pip
-
run
:
pip install -r requirements.txt
-
run
:
pip install -r requirements.txt
-
run
:
make lint-py
thon
-
run
:
make lint-py
lint
Makefile
View file @
7dfdc0a5
...
@@ -93,7 +93,7 @@ format-isort:
...
@@ -93,7 +93,7 @@ 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-py
thon
:
lint-py
lint
:
pylint
-d
missing-module-docstring,missing-class-docstring
\
pylint
-d
missing-module-docstring,missing-class-docstring
\
--ignore-paths
experiments/simbricks/orchestration/utils/graphlib.py
\
--ignore-paths
experiments/simbricks/orchestration/utils/graphlib.py
\
experiments/ results/
experiments/ results/
...
@@ -104,8 +104,9 @@ typecheck-python:
...
@@ -104,8 +104,9 @@ typecheck-python:
experiments/simbricks/orchestration/utils/graphlib.py
\
experiments/simbricks/orchestration/utils/graphlib.py
\
--
experiments/ results/
--
experiments/ results/
lint-python
:
lint-pylint typecheck-python
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
help
:
help
:
@
echo
"Targets:"
@
echo
"Targets:"
...
...
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