/
.flake8
36 lines (32 loc) · 932 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[flake8]
max-line-length = 160
max-complexity = 13
inline-quotes = "
application-import-names = dedoc, tests, scripts, train_dataset
import-order-style = pycharm
exclude =
.git,
__pycache__,
.idea,
.github,
*__init__.py,
resources,
venv,
build,
dedoc.egg-info,
docs/_build,
scripts/fintoc2022/metric.py
# ANN101 - type annotations for self
# T201 - prints found
# JS101 - Multi-line container not broken after opening character
# ANN001 - Missing type annotation for function argument
# ANN201 - Missing return type annotation for public function
# ANN202 - Missing return type annotation for protected function
# ANN204 - Missing return type annotation for special method
# N802 - function name should be lowercase
ignore =
ANN101
per-file-ignores =
scripts/*:T201
scripts/benchmark_pdf_performance*:JS101
tests/custom_test_runner.py:ANN001,ANN201,ANN202,ANN204,N802