-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.flake8
More file actions
102 lines (95 loc) · 3.56 KB
/
Copy path.flake8
File metadata and controls
102 lines (95 loc) · 3.56 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[flake8]
max-line-length = 88
select =
# flake8 default
D, E, F, W,
ignore =
# flake8 default
E121,E123,E126,E226,E24,E704,W503,W504,
# Additional ignores:
E127, E131,
E266,
E305, E306,
E741,
F841,
# pydocstyle
D100, D101, D102, D103, D104, D105, D106,
D200, D202, D204, D205,
D301,
D400, D401, D403, D404
# ignored by pydocstyle numpy docstring convention
D107, D203, D212, D402, D413, D415, D416, D417,
# while D213 is ignored by the numpy docstring convention, it's left out above,
# because we want to enforce it.
# it's not a bug that we aren't using all of hacking
extend-ignore =
# H101: Use TODO(NAME)
# H101,
# H202: assertRaises Exception too broad
# H202,
# H233: Python 3.x incompatible use of print operator
# H233,
# H301: one import per line
# H301,
# H306: imports not in alphabetical order (time, os)
# H306,
# H401: docstring should not start with a space
# H401,
# H403: multi line docstrings should end on a new line
# H403,
# H404: multi line docstring should start without a leading new line
# H404,
# H405: multi line docstring summary not separated with an empty line
# H405,
# H501: Do not use self.__dict__ for string formatting
# H501,
E202, E203, E221, E251, E265, E302, E303, F401, E402, E501, E702, E703, E722
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
**__pycache__/**,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
docs/source/_sphinx_ext/**,
docs/source/auto_examples/**,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build/**,
# This contains builds of flake8 that we don't want to check
dist/**,
.eggs,
# External files.
.tox,
dev.py,
auto_building_tools/**,
benchmarks/**,
tools/**, # ← Ensure the `tools/` folder is ignored
galleries/examples/**, # ← Ensure the `tools/` folder is ignored
scikitplot/cbook.py,
scikitplot/_docstring.py,
scikitplot/_preprocess.py,
scikitplot/conftest.py,
scikitplot/_astropy/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_api/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_build_utils/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_clv/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_externals/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_factory_api/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_seaborn/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_tweedie/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_utils/**, # ← Ensure the `tools/` folder is ignored
scikitplot/_xp_core_lib/**, # ← Ensure the `tools/` folder is ignored
scikitplot/api/**, # ← Ensure the `tools/` folder is ignored
scikitplot/kds/**, # ← Ensure the `tools/` folder is ignored
scikitplot/modelplotpy/**, # ← Ensure the `tools/` folder is ignored
scikitplot/sphinxext/**, # ← Ensure the `tools/` folder is ignored
scikitplot/probscale/**, # ← Ensure the `tools/` folder is ignored
scikitplot/visualkeras/**, # ← Ensure the `tools/` folder is ignored
scikitplot/experimental/** # ← Ensure the `tools/` folder is ignored
scikitplot/_config.py
per-file-ignores =
scikitplot/kds/_kds.py: D412, E225, E231, E261, E262, D412
scikitplot/visualkeras/layered.py: F405
# force-check = True