diff --git a/README.md b/README.md index 098e68514c..ec7bdb4337 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,10 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Assume Python 3.10. target-version = "py310" + +[tool.ruff.mccabe] +# Unlike Flake8, default to a complexity level of 10. +max-complexity = 10 ``` As an example, the following would configure Ruff to: (1) avoid checking for line-length