chore: move to ruff-format (#1651)

* chore: move to ruff-format

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

* chore: bump Ruff

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2023-10-27 01:21:20 -04:00
committed by GitHub
parent 1efccd03b5
commit 4586062efb
13 changed files with 21 additions and 58 deletions
+3 -5
View File
@@ -5,11 +5,6 @@ requires = [
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
@@ -116,6 +111,8 @@ messages_control.disable = [
[tool.ruff]
target-version = "py38"
line-length = 100
[tool.ruff.lint]
extend-select = [
@@ -147,6 +144,7 @@ ignore = [
"PT004", # Rename suggested for returnless fixtures
"PT007", # False positive
"PYI025", # Set as AbstractSet
"ISC001", # Conflicts with formatter
]
typing-modules = ["cibuildwheel._compat.typing"]
flake8-unused-arguments.ignore-variadic-names = true