Update default complexity in README.md

This commit is contained in:
Charlie Marsh
2022-11-21 13:19:18 -05:00
parent 0867d2ded9
commit b1f9c7b6bd

View File

@@ -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