mirror of
https://github.com/pyecharts/pyecharts.git
synced 2025-12-08 20:59:23 +00:00
14 lines
308 B
Python
14 lines
308 B
Python
import os
|
|
|
|
# nose2
|
|
os.system(
|
|
"nose2 --with-coverage --coverage pyecharts "
|
|
"--coverage-config .coveragerc -s test"
|
|
)
|
|
|
|
# pytest
|
|
os.system("pytest -cov-config=.coveragerc --cov=./ test/")
|
|
|
|
# flake8 for code linting
|
|
os.system("flake8 --exclude=build,example,images --max-line-length=89 --ignore=F401")
|