Skip to content

Commit ad48cf3

Browse files
authored
Merge pull request nschloe#75 from nschloe/readme-nitpick
Readme nitpick
2 parents 84f5091 + 5c0eb65 commit ad48cf3

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,10 @@ jobs:
2929
with:
3030
python-version: "3.x"
3131
- uses: actions/checkout@v2
32-
- name: Install package
32+
- name: Test with tox
3333
run: |
34-
pip install --upgrade pip
35-
pip install .[all]
36-
- name: Test with pytest
37-
run: |
38-
pip install pytest pytest-cov
39-
cd test/ && pytest --cov perfplot
34+
pip install tox
35+
tox
4036
- name: Submit to codecov
4137
if: ${{ matrix.python-version == '3.8' }}
4238
run: bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Benchmarking and plotting can be separated, too. This allows multiple plots of t
5757
data, for example:
5858
```python
5959
out = perfplot.bench(
60-
# same arguments as above
60+
# same arguments as above (except the plot-related ones, like time_unit or log*)
6161
)
6262
out.show()
6363
out.save("perf.png", transparent=True, bbox_inches="tight")

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ project_urls =
1010
Issues=https://github.com/nschloe/perfplot/issues
1111
long_description = file: README.md
1212
long_description_content_type = text/markdown
13-
license = GPLv3
14-
license_files = LICENSE
15-
platforms = any
13+
license = GPL-3.0-or-later
14+
license_file = LICENSE
1615
classifiers =
1716
Development Status :: 5 - Production/Stable
1817
Intended Audience :: Developers

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[tox]
2+
envlist = py3
3+
isolated_build = True
4+
5+
[testenv]
6+
deps =
7+
pytest
8+
pytest-cov
9+
commands =
10+
pytest --cov {envsitepackagesdir}/perfplot --cov-report xml --cov-report term

0 commit comments

Comments
 (0)