Skip to content

Commit d4dc918

Browse files
committed
Lint the integration tests, too
1 parent 92b498d commit d4dc918

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

bin/lint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ dir=$(dirname "$0")
44
cd "$dir/.."
55

66
exitCode=0
7-
black src tests
7+
black src it tests
88
code=$?; test $code -eq 0 || exitCode=$code
9-
isort src tests
9+
isort src it tests
1010
code=$?; test $code -eq 0 || exitCode=$code
11-
python -m flake8 src tests
11+
python -m flake8 src it tests
1212
code=$?; test $code -eq 0 || exitCode=$code
1313
validate-pyproject pyproject.toml
1414
code=$?; test $code -eq 0 || exitCode=$code

it/scripting.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"""
77

88
import sys
9+
910
import scyjava
1011

11-
scyjava.config.endpoints.extend([
12-
"org.scijava:scijava-common:2.94.2",
13-
"org.scijava:scripting-python:MANAGED"
14-
])
12+
scyjava.config.endpoints.extend(
13+
["org.scijava:scijava-common:2.94.2", "org.scijava:scripting-python:MANAGED"]
14+
)
1515

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

0 commit comments

Comments
 (0)