forked from equinor/semeio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73511cb
commit 70137fb
Showing
6 changed files
with
45 additions
and
52 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
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
pytest | ||
mock | ||
black; python_version>="3.6" | ||
zipp<2; python_version<='2.7' | ||
configparser<5; python_version<='2.7' | ||
openpyxl<=2.6.4; python_version<="2.7" | ||
openpyxl; python_version>="3.6" |
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
[tox] | ||
envlist = | ||
py27 | ||
py37 | ||
formatting | ||
|
||
[testenv] | ||
deps = -rtest_requirements.txt | ||
# The two following lines are a bit ugly, | ||
# but is required until ert and libres are | ||
# pip installable | ||
passenv = PYTHONPATH LIBRES_TEST_DATA_DIR | ||
sitepackages = true | ||
commands = pytest | ||
|
||
[testenv:formatting] | ||
description = Invoke black to format the code | ||
deps = | ||
black | ||
commands = | ||
black --check semeio tests setup.py | ||
|
||
[pytest] | ||
addopts = tests |