-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.flake8
31 lines (31 loc) · 1.13 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
# -*- conf -*-
# flake8 settings for Nevada core files.
#
# E1: Indentation
# - E129: visually indented line with same indent as next logical line
#
# E2: Whitespace
# - E203: space before :
# - E221: multiple spaces before operator
# - E241: multiple spaces after ','
# - E272: multiple spaces before keyword
#
# E7: Statement
# - E731: do not assign a lambda expression, use a def
#
# W5: Line break warning
# - W503: line break before binary operator
# - W504: line break after binary operator
#
# These are required to get the package.py files to test clean:
# - F999: syntax error in doctest
#
# N8: PEP8-naming
# - N801: class names should use CapWords convention
# - N813: camelcase imported as lowercase
# - N814: camelcase imported as constant
#
[flake8]
ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801,N813,N814,E203,W605
max-line-length = 88
exclude = lib/nevada/external,test,__init__.py,.cache,.git,opt,third_party,lib/nevada/snl,var/nevada/py-packages,var/nevada/spack/repo/packages,docs/nevada,bin/hisread.py,bin/exoread.py,var/nevada/ci,var/nevada/distro,var/nevada/tmp,var/nevada/sandboxes,var/nevada/spack/experimental-repo,TestResults.*