Skip to content

Commit

Permalink
Document tox.ini and its use/tuneup
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Feb 17, 2023
1 parent a1d9e60 commit cd2a860
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ adjust as necessary. A good approach is to
"Auto-release on PR merge" workflows by using the code in the
`datalad/release-action` repository [as described in its
README](https://github.com/datalad/release-action#command-labels).
- (Optionally) adjust [`tox.ini`](./tox.ini) for `pytest` and `flake8` options
and `tox` environments to use.

You can consider filling in the provided [.zenodo.json](.zenodo.json) file with
contributor information and [meta data](https://developers.zenodo.org/#representation)
Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# This file defines common developer helper commands, such as
# - py3: perform unittest-ing using pytest
# - lint: codespell the code to avoid typos
# - flake8: conform code to PEP8 and beyond (not enabled by default)
# - typing: ensure consistency in type annotations
#
# Moveover configuration for pytest and flake8 specified in this file
# as well, so would be in effect even if used not through tox.
#
[tox]
envlist = py3,lint,typing
#,flake8
Expand Down

0 comments on commit cd2a860

Please sign in to comment.