mirror of
https://github.com/rr-/pq-cli.git
synced 2026-11-12 22:40:36 -07:00
build: replace black and isort with ruff
ruff format keeps black's style at the same line length, and ruff check covers import sorting plus pycodestyle and pyflakes. Three comments and a test regex are wrapped to fit 79 columns.
This commit is contained in:
8 files changed
+21
-24
No files matched your search
+6
-5
@@ -42,10 +42,11 @@ build-backend = "hatchling.build"
|
||||
[dependency-groups]
|
||||
dev = ["pre-commit>=2.16.0", "pytest>=8.0"]
|
||||
|
||||
[tool.black]
|
||||
[tool.ruff]
|
||||
line-length = 79
|
||||
|
||||
[tool.isort]
|
||||
known_first_party = "pqcli"
|
||||
multi_line_output = 3
|
||||
include_trailing_comma = true
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "W", "I"]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["pqcli"]
|
||||
Reference in new issue
Block a user