Skip to content

Commit

Permalink
Lint the integration tests, too
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Jul 6, 2023
1 parent 92b498d commit d4dc918
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions bin/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ dir=$(dirname "$0")
cd "$dir/.."

exitCode=0
black src tests
black src it tests
code=$?; test $code -eq 0 || exitCode=$code
isort src tests
isort src it tests
code=$?; test $code -eq 0 || exitCode=$code
python -m flake8 src tests
python -m flake8 src it tests
code=$?; test $code -eq 0 || exitCode=$code
validate-pyproject pyproject.toml
code=$?; test $code -eq 0 || exitCode=$code
Expand Down
8 changes: 4 additions & 4 deletions it/scripting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"""

import sys

import scyjava

scyjava.config.endpoints.extend([
"org.scijava:scijava-common:2.94.2",
"org.scijava:scripting-python:MANAGED"
])
scyjava.config.endpoints.extend(
["org.scijava:scijava-common:2.94.2", "org.scijava:scripting-python:MANAGED"]
)

# Create minimal SciJava context with a ScriptService.
Context = scyjava.jimport("org.scijava.Context")
Expand Down

0 comments on commit d4dc918

Please sign in to comment.