-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enforce settings on tox.ini (#309)
* refactor: move some configs from setup.cfg to tox.ini * build: fix version on .bumpversion.cfg * style: enforce configs on tox.ini * docs: add tox to the examples, check links after other commands * test: tox.ini is applied with the default style
- Loading branch information
1 parent
8cc5bf7
commit 44d6cf4
Showing
21 changed files
with
309 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.24.0 | ||
current_version = 0.24.1 | ||
commit = False | ||
tag = False | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
["tox.ini".tox] | ||
# https://tox.readthedocs.io/en/latest/config.html | ||
isolated_build = true | ||
|
||
["tox.ini".testenv] | ||
description = "Run tests with pytest and coverage" | ||
extras = "test" | ||
|
||
["tox.ini"."coverage:run"] | ||
# https://coverage.readthedocs.io/en/latest/config.html#run | ||
branch = true | ||
parallel = true | ||
source = "src/" | ||
# TODO: deal with multiline INI values in https://github.com/andreoliwa/nitpick/issues/271 | ||
#omit = """tests/* | ||
#.tox/* | ||
#*/pypoetry/virtualenvs/* | ||
#""" | ||
# This config is needed by https://github.com/marketplace/actions/coveralls-python#usage | ||
relative_files = true | ||
|
||
["tox.ini"."coverage:report"] | ||
# https://coverage.readthedocs.io/en/latest/config.html#report | ||
show_missing = true | ||
precision = 2 | ||
skip_covered = true | ||
skip_empty = true | ||
sort = "Cover" |
Oops, something went wrong.