mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-05-31 23:28:05 +00:00
* Install and configure mypy * Test if github CI uses setup.cfg for mypy * force color output * tab to space * Try to fix regex * follow_imports silent * use space as indentation * fix indentation setup.cfg * Show error code * Update doc * Udate changelog * Ignore mypy cache files from commit * Update gitlab CI * Add pytype and mypy entry in Makefile * Make mypy happy Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
23 lines
469 B
YAML
23 lines
469 B
YAML
image: stablebaselines/stable-baselines3-cpu:1.4.1a0
|
|
|
|
type-check:
|
|
script:
|
|
- pip install pytype mypy --upgrade
|
|
- make type
|
|
|
|
pytest:
|
|
script:
|
|
- pip install tqdm rich # for progress bar
|
|
- python --version
|
|
# MKL_THREADING_LAYER=GNU to avoid MKL_THREADING_LAYER=INTEL incompatibility error
|
|
- MKL_THREADING_LAYER=GNU make pytest
|
|
coverage: '/^TOTAL.+?(\d+\%)$/'
|
|
|
|
doc-build:
|
|
script:
|
|
- make doc
|
|
|
|
lint-check:
|
|
script:
|
|
- make check-codestyle
|
|
- make lint
|