We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e44af2e commit 69cb49aCopy full SHA for 69cb49a
1 file changed
pyproject.toml
@@ -41,13 +41,17 @@ select = [
41
[tool.ruff.lint.per-file-ignores]
42
# Trailing whitespace in comment
43
"binder/ipython_config.py" = ["E266"]
44
+
45
# suppress `raise ... from err`
46
# Why we ignore B904 from the object-oriented tests?
47
# We do want to raise an assertion error if the check on the solution function attributes fails,
48
# but Python by default will raise a TypeError via vars(solution_result)
49
# if the result is not a class and therefore doesn't have a __dict__ attribute.
50
"tutorial/tests/test_object_oriented_programming.py" = ["B904"]
51
52
+# Ignore invalid names like `import torch.nn.functional as F`
53
+"25_library_pytorch_language_modeling.ipynb" = ["N812"]
54
55
# Ruff formatting
56
[tool.ruff.format]
57
quote-style = "double"
0 commit comments