Skip to content

Commit

Permalink
chore: Update ruff config
Browse files Browse the repository at this point in the history
Close #1955, #1956
  • Loading branch information
mattwthompson authored Mar 13, 2024
1 parent ba5fb65 commit 4324553
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,15 @@ build-backend = "setuptools.build_meta"

[tool.setuptools_scm]

[tool.ruff.isort]
[tool.ruff]
extend-exclude = ["build"]
line-length=88

[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
known-first-party= ["pint"]


[tool.ruff]
[tool.ruff.lint]
extend-select = [
"I", # isort
]
Expand All @@ -100,5 +103,3 @@ ignore = [
# line break before binary operator
# "W503"
]
extend-exclude = ["build"]
line-length=88

0 comments on commit 4324553

Please sign in to comment.