We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0659cc5 commit 3d6171dCopy full SHA for 3d6171d
pyproject.toml
@@ -116,5 +116,9 @@ fixable = [
116
"I", # isort
117
"RUF", # ruff
118
]
119
-unfixable = []
120
-target-version = "py37"
+unfixable = ["RUF001"]
+target-version = "py38"
121
+
122
+[tool.ruff.per-file-ignores]
123
+# Ruff is autofixing a tests with a voluntarily sneaky unicode
124
+"tests/test_regrtest.py" = ["RUF001"]
tests/test_regrtest.py
@@ -280,10 +280,10 @@ def test_unicode_in_docstring(self) -> None:
280
281
class MyClass(object):
282
def method(self):
283
- "With unicode : {'`'} "
+ "With unicode : {'’'} "
284
285
instance = MyClass()
286
- """ # noqa: RUF001
+ """
287
)
288
289
next(node.value.infer()).as_string()
0 commit comments