-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 833 Bytes
/
Makefile
File metadata and controls
29 lines (22 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Adapted from DLR-RM/stable-baselines3
PACKAGE_NAME=eagerx_franka
SHELL=/bin/bash
LINT_PATHS=${PACKAGE_NAME}/
pytest:
bash ./scripts/run_tests.sh
coverage-badge:
# Generate coverage badge
poetry run python ./scripts/generate_coverage_badge.py
check-codestyle:
# Reformat using black
poetry run black --check -l 127 ${LINT_PATHS}
codestyle:
# Reformat using black
poetry run black -l 127 ${LINT_PATHS}
lint:
# stop the build if there are Python syntax errors or undefined names
# see https://lintlyci.github.io/Flake8Rules/
poetry run flake8 ${LINT_PATHS} --count --select=E9,F63,F7,F82 --show-source --statistics --exclude eagerx_franka/panda_ros
# exit-zero treats all errors as warnings.
poetry run flake8 ${LINT_PATHS} --count --exit-zero --statistics --exclude eagerx_franka/panda_ros
.PHONY: check-codestyle