Skip to content

Commit

Permalink
replace py.test with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
xg1990 authored and FlorianWilhelm committed Aug 19, 2021
1 parent 899d105 commit 286a65c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
1. advocates a proper Python package structure that can be shipped and distributed,
2. uses a [conda] environment instead of something [virtualenv]-based and is thus more suitable
for data science projects,
3. more default configurations for [Sphinx], [py.test], [pre-commit], etc. to foster
3. more default configurations for [Sphinx], [pytest], [pre-commit], etc. to foster
clean coding and best practices.

Also consider using [dvc] to version control and share your data within your team.
Expand Down Expand Up @@ -48,7 +48,7 @@ The final directory structure looks like:
β”‚ create a distribution with `python setup.py bdist_wheel`.
β”œβ”€β”€ src
β”‚ └── PYTHON_PKG <- Actual Python package where the main functionality goes.
β”œβ”€β”€ tests <- Unit tests which can be run with `py.test`.
β”œβ”€β”€ tests <- Unit tests which can be run with `pytest`.
β”œβ”€β”€ .coveragerc <- Configuration for coverage reports of unit tests.
β”œβ”€β”€ .isort.cfg <- Configuration for git hook that sorts imports.
└── .pre-commit-config.yaml <- Configuration of pre-commit git hooks.
Expand Down Expand Up @@ -101,7 +101,7 @@ information on PyScaffold see https://pyscaffold.org/.
[Jupyter]: https://jupyter.org/
[dsproject-demo]: https://github.com/pyscaffold/dsproject-demo
[Sphinx]: https://www.sphinx-doc.org/
[py.test]: https://docs.pytest.org/
[pytest]: https://docs.pytest.org/
[conda]: https://docs.conda.io/
[Conda-Forge]: https://anaconda.org/conda-forge/pyscaffoldext-dsproject
[virtualenv]: https://virtualenv.pypa.io/
Expand Down
2 changes: 1 addition & 1 deletion src/pyscaffoldext/dsproject/templates/readme_md.template
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Then take a look into the `scripts` and `notebooks` folders.
β”‚ create a distribution with `tox -e build`.
β”œβ”€β”€ src
β”‚ └── ${pkg} <- Actual Python package where the main functionality goes.
β”œβ”€β”€ tests <- Unit tests which can be run with `py.test`.
β”œβ”€β”€ tests <- Unit tests which can be run with `pytest`.
β”œβ”€β”€ .coveragerc <- Configuration for coverage reports of unit tests.
β”œβ”€β”€ .isort.cfg <- Configuration for git hook that sorts imports.
└── .pre-commit-config.yaml <- Configuration of pre-commit git hooks.
Expand Down

0 comments on commit 286a65c

Please sign in to comment.