File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 run : |
3030 python -m pip install --upgrade pip
3131 pip install .[dev]
32- pip install pytest-timeout
33- pip install pytest-xvfb
3432 - name : Test with pytest
3533 env :
3634 MPLBACKEND : TkAgg
5250 run : |
5351 python -m pip install --upgrade pip
5452 pip install .[dev]
55- pip install pytest-xvfb
56- pip install pytest-timeout
5753 - name : Run coverage
5854 run : |
5955 coverage run --omit='tests/*.py,tests/base/*.py' -m pytest
Original file line number Diff line number Diff line change @@ -16,11 +16,15 @@ test:
1616 pytest
1717
1818coverage :
19- pytest --cov=spatialmath
19+ coverage run --omit=' tests/*.py,tests/base/*.py' -m pytest
20+ coverage report
2021
2122docs : .FORCE
2223 (cd docs; make html)
2324
25+ view :
26+ open docs/build/html/index.html
27+
2428dist : .FORCE
2529 # $(MAKE) test
2630 python -m build
Original file line number Diff line number Diff line change 1010
1111[ ![ Build Status] ( https://github.com/petercorke/spatialmath-python/workflows/build/badge.svg?branch=master )] ( https://github.com/petercorke/spatialmath-python/actions?query=workflow%3Abuild )
1212[ ![ Coverage] ( https://codecov.io/gh/petercorke/spatialmath-python/branch/master/graph/badge.svg )] ( https://codecov.io/gh/petercorke/spatialmath-python )
13- [ ![ Language grade: Python] ( https://img.shields.io/lgtm/grade/python/g/petercorke/spatialmath-python.svg?logo=lgtm&logoWidth=18 )] ( https://lgtm.com/projects/g/petercorke/spatialmath-python/context:python )
1413[ ![ PyPI - Downloads] ( https://img.shields.io/pypi/dw/spatialmath-python )] ( https://pypistats.org/packages/spatialmath-python )
1514[ ![ GitHub stars] ( https://img.shields.io/github/stars/petercorke/spatialmath-python.svg?style=social&label=Star )] ( https://GitHub.com/petercorke/spatialmath-python/stargazers/ )
1615
Original file line number Diff line number Diff line change 4444 'sphinx.ext.coverage' ,
4545 'sphinx.ext.doctest' ,
4646 'sphinx.ext.inheritance_diagram' ,
47+ 'matplotlib.sphinxext.plot_directive' ,
4748 'sphinx_autorun' ,
4849 "sphinx.ext.intersphinx" ,
4950 "sphinx-favicon" ,
5051 ]
51- #'sphinx-prompt',
52- #'recommonmark',
5352 #'sphinx.ext.autosummary',
54- #'sphinx_markdown_tables',
55- #
53+
5654# inheritance_node_attrs = dict(style='rounded,filled', fillcolor='lightblue')
5755inheritance_node_attrs = dict (style = 'rounded' )
5856
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ dependencies = [
3838 " numpy>=1.17.4" ,
3939 " scipy" ,
4040 " matplotlib" ,
41- " colored" ,
4241 " ansitable" ,
4342]
4443
@@ -53,17 +52,17 @@ dependencies = [
5352dev = [
5453 " sympy" ,
5554 " pytest" ,
55+ " pytest-timeout" ,
56+ " pytest-xvfb" ,
5657 " coverage" ,
5758 " flake8"
5859]
5960
6061docs = [
6162 " sphinx" ,
62- " recommonmark" ,
6363 " sphinx_rtd_theme" ,
6464 " sphinx-autorun" ,
6565 " sphinxcontrib-jsmath" ,
66- " sphinx_markdown_tables" ,
6766 " sphinx-favicon" ,
6867]
6968
You can’t perform that action at this time.
0 commit comments