mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-07-11 11:11:53 +02:00
style: moved isort config to pyproject.toml
This commit is contained in:
@ -35,7 +35,7 @@ formatter:
|
|||||||
stage: Formatter
|
stage: Formatter
|
||||||
script:
|
script:
|
||||||
- pip install black isort
|
- pip install black isort
|
||||||
- isort --check --diff --line-length=100 --profile=black --multi-line=3 --trailing-comma ./
|
- isort --check --diff ./
|
||||||
- black --check --diff --color ./
|
- black --check --diff --color ./
|
||||||
|
|
||||||
pylint:
|
pylint:
|
||||||
|
@ -39,6 +39,12 @@ Homepage = "https://gitlab.psi.ch/bec/ophyd_devices"
|
|||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
include = ["*"]
|
include = ["*"]
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
line_length = 100
|
||||||
|
multi_line_output = 3
|
||||||
|
include_trailing_comma = true
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
skip-magic-trailing-comma = true
|
skip-magic-trailing-comma = true
|
||||||
|
Reference in New Issue
Block a user