Skip to content

Commit d69a097

Browse files
committed
update various build files
1 parent df8fcad commit d69a097

5 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/master.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
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
@@ -52,8 +50,6 @@ jobs:
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

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ test:
1616
pytest
1717

1818
coverage:
19-
pytest --cov=spatialmath
19+
coverage run --omit='tests/*.py,tests/base/*.py' -m pytest
20+
coverage report
2021

2122
docs: .FORCE
2223
(cd docs; make html)
2324

25+
view:
26+
open docs/build/html/index.html
27+
2428
dist: .FORCE
2529
#$(MAKE) test
2630
python -m build

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
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

docs/source/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,13 @@
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')
5755
inheritance_node_attrs = dict(style='rounded')
5856

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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 = [
5352
dev = [
5453
"sympy",
5554
"pytest",
55+
"pytest-timeout",
56+
"pytest-xvfb",
5657
"coverage",
5758
"flake8"
5859
]
5960

6061
docs = [
6162
"sphinx",
62-
"recommonmark",
6363
"sphinx_rtd_theme",
6464
"sphinx-autorun",
6565
"sphinxcontrib-jsmath",
66-
"sphinx_markdown_tables",
6766
"sphinx-favicon",
6867
]
6968

0 commit comments

Comments
 (0)