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