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+ src = [" appdaemon" , " tests" ]
2+
3+ # Exclude a variety of commonly ignored directories.
4+ exclude = [
5+ " .bzr" ,
6+ " .direnv" ,
7+ " .eggs" ,
8+ " .git" ,
9+ " .hg" ,
10+ " .mypy_cache" ,
11+ " .nox" ,
12+ " .pants.d" ,
13+ " .pytype" ,
14+ " .ruff_cache" ,
15+ " .svn" ,
16+ " .tox" ,
17+ " .venv" ,
18+ " .devenv" ,
19+ " __pypackages__" ,
20+ " _build" ,
21+ " buck-out" ,
22+ " build" ,
23+ " dist" ,
24+ " node_modules" ,
25+ " venv"
26+ ]
27+
28+ line-length = 200
29+ indent-width = 4
30+
31+ # Assume Python 3.10.
32+ target-version = " py310"
33+
34+ # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
35+ lint.select = [" E" , " F" ]
36+ lint.ignore = []
37+
38+ # Allow autofix for all enabled rules (when `--fix`) is provided.
39+ lint.fixable = [" E" , " F" , " UP" ]
40+ # lint.fixable = ["ALL"]
41+ lint.unfixable = []
42+
43+ # Allow unused variables when underscore-prefixed.
44+ lint.dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
45+
46+ lint.per-file-ignores = {}
47+
48+ [lint .mccabe ]
49+ # Unlike Flake8, default to a complexity level of 10.
50+ max-complexity = 10
51+
52+ [format ]
53+ quote-style = " double"
54+ indent-style = " space"
55+ docstring-code-format = false
You can’t perform that action at this time.
0 commit comments