Skip to content

Commit

Permalink
Fix ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
stefsmeets committed May 29, 2024
1 parent f0b4d9b commit 9010964
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
Expand Down

0 comments on commit 9010964

Please sign in to comment.