forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
59 lines (56 loc) · 1.4 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[flake8]
ignore =
E203, # whitespace before ':' (Black)
W503, # line break before binary operator (Black)
per-file-ignores =
utils/mkrest.py: E501, W605
utils/gitlog2changelog.py: E722, E712, W605
utils/g.html2man/ggroff.py: W605
man/build_check_rest.py: F403, F405
man/build_full_index_rest.py: F403, F405
man/parser_standard_options.py: F403, F405
man/build_class.py: F403, F405
man/build_class_rest.py: F403, F405
man/build_check.py: F403, F405
man/build_full_index.py: F403, F405
man/build_index.py: F403, F405
man/build_index_rest.py: F403, F405
man/build_keywords.py: F403, F405, E722
man/build_topics.py: F403, F405, E722
man/build_html.py: E501
man/build_rest.py: E501
max-line-length = 88
exclude =
.git,
__pycache__,
.env,
.venv,
env,
venv,
ENV,
env.bak,
venv.bak,
# Build directories
bin.*,
dist.*,
# Test output directory
testreport,
# Have their own configs for now
lib/init,
python/grass,
gui/wxpython,
scripts,
temporal,
# No tests checked for now
testsuite,
# To be resolved later
imagery/i.atcorr/create_iwave.py,
raster/r.solute.transport,
display/d.mon/render_cmd.py,
locale/grass_po_stats.py,
general/g.parser/test.py,
docker/testdata/test_grass_session.py,
doc/python,
doc/gui/wxpython/example,
builtins =
_