Skip to content

Commit

Permalink
Pin dependency versions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet authored and arnaudon committed Aug 23, 2021
1 parent 742eeed commit 593d67b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ disable=[
"no-member",
"too-many-ancestors",
"too-many-lines",
"unspecified-encoding",
"unsubscriptable-object",
]

Expand Down
2 changes: 1 addition & 1 deletion requirements/base.pip
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gitpython
jinja2
joblib
luigi
luigi-tools>=0.0.10
luigi-tools>=0.0.12
matplotlib
morph_tool>=2.3.1
morphio>=3,<4
Expand Down
4 changes: 4 additions & 0 deletions requirements/test.pip
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ pytest
pytest-cov
pytest-html
pytest-xdist

# Pin versions for tests
matplotlib<3.5
seaborn==0.11.1
2 changes: 1 addition & 1 deletion tests/data/in_small_O1/luigi.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ axon_cells_path = <path_to_clones>
[PlotCollage]
realistic_diameters = False
linewidth = 0.04
diameter_scale = null
diameter_scale =

####################################
# ########## Validation ########## #
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ allowlist_externals =
# set warnings as errors using the -W sphinx option
commands = make html SPHINXOPTS=-W

# E731: do not assign a lambda expression, use a def
# W503: line break after binary operator
# W504: line break before binary operator
[pycodestyle]
ignore = E731,W503,W504,E203
ignore = W503,E203
max-line-length = 100

0 comments on commit 593d67b

Please sign in to comment.