-
Notifications
You must be signed in to change notification settings - Fork 17
/
.flake8
38 lines (36 loc) · 1.05 KB
/
.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
37
38
[flake8]
# References:
# https://flake8.readthedocs.io/en/latest/user/configuration.html
# https://flake8.readthedocs.io/en/latest/user/error-codes.html
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# https://github.com/PyCQA/flake8-import-order
# https://gitlab.com/pycqa/flake8-docstrings
docstring-convention = numpy
import-order-style = google
application-import-names = esmf_regrid
select = C,D,E,F,I,W,B,B950
ignore =
# D202: No blank lines allowed after function docstring
D202,
# E203: whitespace before ':'
E203,
# E226: missing whitespace around arithmetic operator
E226,
# E231: missing whitespace after ',', ';', or ':'
E231,
# E402: module level imports on one line
E402,
# E501: line too long
E501,
# E731: do not assign a lambda expression, use a def
E731,
# W503: line break before binary operator
W503,
# W504: line break after binary operator
W504
exclude =
.eggs
build
esmf_regrid/__init__.py
esmf_regrid/tests/results
benchmarks/*