From 9010964b6b39a3c60aeb24be217c1336a272295f Mon Sep 17 00:00:00 2001 From: Stef Smeets Date: Wed, 29 May 2024 12:03:34 +0200 Subject: [PATCH] Fix ruff config --- pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 17a71019..02089af0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,7 +83,10 @@ source = ["gemdat"] [tool.pytest.ini_options] testpaths = ["tests"] -[tool.lint] +[tool.ruff] +line-length = 110 + +[tool.ruff.lint] # Enable Pyflakes `E` and `F` codes by default. select = [ "F", # Pyflakes @@ -92,9 +95,7 @@ select = [ "I", # isort ] -line-length = 110 - -[tool.lint.isort] +[tool.ruff.lint.isort] known-first-party=["gemdat"] known-third-party = ["pymatgen"] required-imports = ["from __future__ import annotations"]