File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # [ruff]
2+ line-length = 120
3+ format.quote-style = " single"
4+
5+ # Enable Pyflakes `E` and `F` codes by default.
6+ select = [" E" , " F" ]
7+ ignore = []
8+
9+ # Exclude a variety of commonly ignored directories.
10+ exclude = [
11+ " .bzr" ,
12+ " .direnv" ,
13+ " .eggs" ,
14+ " .git" ,
15+ " .hg" ,
16+ " .mypy_cache" ,
17+ " .nox" ,
18+ " .pants.d" ,
19+ " .ruff_cache" ,
20+ " .svn" ,
21+ " .tox" ,
22+ " __pypackages__" ,
23+ " _build" ,
24+ " buck-out" ,
25+ " build" ,
26+ " dist" ,
27+ " node_modules" ,
28+ " .env" ,
29+ " .venv" ,
30+ " venv" ,
31+ ]
32+ per-file-ignores = {}
33+
34+ # Allow unused variables when underscore-prefixed.
35+ # dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
36+
37+ # Assume Python 3.11.
38+ target-version = " py311"
39+
40+ # [tool.ruff.mccabe]
41+ # # Unlike Flake8, default to a complexity level of 10.
42+ mccabe.max-complexity = 10
You can’t perform that action at this time.
0 commit comments