Commit 7dfdc0a5 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

Makefile: combine pylint and pytype into lint-python target

parent 1bac23b9
name: lint-python
name: lint-pylint
on:
pull_request:
......@@ -6,7 +6,7 @@ on:
branches: [main]
jobs:
lint-python:
lint-pylint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
......@@ -16,4 +16,4 @@ jobs:
architecture: 'x64'
cache: pip
- run: pip install -r requirements.txt
- run: make lint-python
- run: make lint-pylint
......@@ -93,7 +93,7 @@ format-isort:
isort --skip experiments/simbricks/orchestration/utils/graphlib.py \
results/ experiments/ doc/
lint-python:
lint-pylint:
pylint -d missing-module-docstring,missing-class-docstring \
--ignore-paths experiments/simbricks/orchestration/utils/graphlib.py \
experiments/ results/
......@@ -104,8 +104,9 @@ typecheck-python:
experiments/simbricks/orchestration/utils/graphlib.py \
-- experiments/ results/
lint-python: lint-pylint typecheck-python
lint: lint-cpplint lint-clang-format lint-python
lint-all: lint lint-clang-tidy typecheck-python
lint-all: lint lint-clang-tidy
help:
@echo "Targets:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment