build(deps): Add isort as a developer dependency
This commit is contained in:
parent
9d7f06530c
commit
03a1bc1b14
@ -29,3 +29,11 @@ repos:
|
|||||||
args: ["--check", "--diff"]
|
args: ["--check", "--diff"]
|
||||||
require_serial: true
|
require_serial: true
|
||||||
types_or: [python, pyi]
|
types_or: [python, pyi]
|
||||||
|
- id: isort
|
||||||
|
name: isort
|
||||||
|
stages: ["pre-commit"]
|
||||||
|
language: system
|
||||||
|
entry: poetry run isort
|
||||||
|
args: ["--check", "--diff"]
|
||||||
|
require_serial: true
|
||||||
|
types_or: [python, pyi]
|
||||||
|
18
poetry.lock
generated
18
poetry.lock
generated
@ -281,6 +281,22 @@ files = [
|
|||||||
[package.extras]
|
[package.extras]
|
||||||
license = ["ukkonen"]
|
license = ["ukkonen"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "isort"
|
||||||
|
version = "6.0.1"
|
||||||
|
description = "A Python utility / library to sort Python imports."
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.9.0"
|
||||||
|
groups = ["dev"]
|
||||||
|
files = [
|
||||||
|
{file = "isort-6.0.1-py3-none-any.whl", hash = "sha256:2dc5d7f65c9678d94c88dfc29161a320eec67328bc97aad576874cb4be1e9615"},
|
||||||
|
{file = "isort-6.0.1.tar.gz", hash = "sha256:1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450"},
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
colors = ["colorama"]
|
||||||
|
plugins = ["setuptools"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "jinja2"
|
name = "jinja2"
|
||||||
version = "3.1.6"
|
version = "3.1.6"
|
||||||
@ -610,4 +626,4 @@ files = [
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.1"
|
lock-version = "2.1"
|
||||||
python-versions = "~3.13"
|
python-versions = "~3.13"
|
||||||
content-hash = "8e80071830f7c9c6b899fa792cd91f71b14920db72934aaf8b34ae9c38cc014a"
|
content-hash = "1a45cc19d20ff20330d212f2a097cb52689c8460a05f648c9cba9d81d9dd4a14"
|
||||||
|
@ -19,6 +19,7 @@ dependencies = [
|
|||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
black = "^25.1.0"
|
black = "^25.1.0"
|
||||||
commitizen = "^4.8.0"
|
commitizen = "^4.8.0"
|
||||||
|
isort = "^6.0.1"
|
||||||
pre-commit = "^4.2.0"
|
pre-commit = "^4.2.0"
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
@ -32,6 +33,11 @@ version_provider = "poetry"
|
|||||||
update_changelog_on_bump = true
|
update_changelog_on_bump = true
|
||||||
major_version_zero = true
|
major_version_zero = true
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
force_sort_within_sections = true
|
||||||
|
line_length = 120
|
||||||
|
profile = "black"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user