Skip to content

Commit

Permalink
multiline import isort
Browse files Browse the repository at this point in the history
  • Loading branch information
andped10 committed Jan 22, 2024
1 parent d7f3f22 commit b15a5c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,8 @@ deps = coverage
commands =
pip install -e '.[dev]'
pytest --cov --cov-report=xml
"""
"""

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
9 changes: 6 additions & 3 deletions tests/sample/items/test_gradient_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
import pytest
from numpy.testing import assert_almost_equal

from EasyReflectometry.sample.item import GradientLayer
from EasyReflectometry.sample.items.gradient_layer import _linear_gradient, _apply_thickness_constraints, _prepare_gradient_layers
import EasyReflectometry.sample.items.gradient_layer
from EasyReflectometry.sample.item import GradientLayer
from EasyReflectometry.sample.items.gradient_layer import (
_apply_thickness_constraints,
_linear_gradient,
_prepare_gradient_layers,
)
from EasyReflectometry.sample.layer import Layer
from EasyReflectometry.sample.material import Material
from easyCore.Objects.ObjectClasses import Parameter


class TestGradientLayer():
Expand Down

0 comments on commit b15a5c7

Please sign in to comment.