diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e088012b1..89e88dc915 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,16 +1,14 @@ repos: - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black - args: [--line-length=100] - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: - id: isort name: isort - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.7.4 hooks: - id: ruff - diff --git a/pyproject.toml b/pyproject.toml index 8273e95c44..b1dcc61cbe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,6 +95,10 @@ line-length = 100 [tool.isort] profile = "black" +include_trailing_comma = "true" +line_length=100 +multi_line_output=3 +ensure_newline_before_comments = "true" [tool.ruff] line-length = 100