1+ # Configuration for flake8 analysis
12[flake8]
2- ignore =
3- E501
4- W504
3+ # Set the maximum length that any line (with some exceptions) may be.
4+ # max-line-length = 120
5+
6+ # Set the maximum length that a comment or docstring line may be.
7+ # max-doc-length = 120
8+
9+ # Set the maximum allowed McCabe complexity value for a block of code.
10+ # max-complexity = 15
11+
12+ # Specify a list of codes to ignore.
13+ # D107: Missing docstring in __init__
14+ # D400: First line should end with a period
15+ # E501: Line too long (82 > 79 characters)
16+ # W504: line break after binary operator -> Cannot break line with a long pathlib Path
17+ # D204: 1 blank line required after class docstring
18+ ignore = D107, D400, E501, W504, D204
19+
20+ # Specify a list of mappings of files and the codes that should be ignored for the entirety of the file.
21+ per-file-ignores =
22+ tests/*:D101,D102,D104
23+
24+ # Provide a comma-separated list of glob patterns to exclude from checks.
525exclude =
26+ # No need to traverse our git directory
627 .git,
28+ # Python virtual environments
729 .venv,
30+ # tox virtual environments
31+ .tox,
32+ # There's no value in checking cache directories
833 __pycache__,
34+ # The conf file is mostly autogenerated, ignore it
935 docs/source/conf.py,
10- old,
36+ # This contains our built documentation
1137 build,
38+ # This contains builds that we don't want to check
1239 dist,
13- modules,
14- setup,
15- thinking
40+ # We don't use __init__.py for scripts
41+ __init__.py
42+ # example testing folder before going live
43+ thinking
44+ .idea
45+ # custom scripts, not being part of the distribution
46+ libs_external
47+ modules
48+ sdist_upip.py
49+ setup.py
50+
51+ # Provide a comma-separated list of glob patterns to add to the list of excluded ones.
52+ # extend-exclude =
53+ # legacy/,
54+ # vendor/
55+
56+ # Provide a comma-separate list of glob patterns to include for checks.
57+ # filename =
58+ # example.py,
59+ # another-example*.py
60+
61+ # Enable PyFlakes syntax checking of doctests in docstrings.
62+ doctests = False
63+
64+ # Specify which files are checked by PyFlakes for doctest syntax.
65+ # include-in-doctest =
66+ # dir/subdir/file.py,
67+ # dir/other/file.py
68+
69+ # Specify which files are not to be checked by PyFlakes for doctest syntax.
70+ # exclude-from-doctest =
71+ # tests/*
72+
73+ # Enable off-by-default extensions.
74+ # enable-extensions =
75+ # H111,
76+ # G123
77+
78+ # If True, report all errors, even if it is on the same line as a # NOQA comment.
79+ disable-noqa = False
80+
81+ # Specify the number of subprocesses that Flake8 will use to run checks in parallel.
82+ jobs = auto
83+
84+ # Also print output to stdout if output-file has been configured.
85+ tee = True
86+
87+ # Count the number of occurrences of each error/warning code and print a report.
88+ statistics = True
89+
90+ # Print the total number of errors.
91+ count = True
92+
93+ # Print the source code generating the error/warning in question.
94+ show-source = True
95+
96+ # Decrease the verbosity of Flake8's output. Each time you specify it, it will print less and less information.
97+ quiet = 0
98+
99+ # Select the formatter used to display errors to the user.
100+ format = pylint
101+
102+ [pydocstyle]
103+ # choose the basic list of checked errors by specifying an existing convention. Possible conventions: pep257, numpy, google.
104+ convention = pep257
105+
106+ # check only files that exactly match <pattern> regular expression
107+ # match = (?!test_).*\.py
108+
109+ # search only dirs that exactly match <pattern> regular expression
110+ # match_dir = [^\.].*
111+
112+ # ignore any functions or methods that are decorated by a function with a name fitting the <decorators> regular expression.
113+ # ignore_decorators =
0 commit comments