-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
32 lines (29 loc) · 944 Bytes
/
setup.cfg
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
[flake8]
ignore=E129,E127,E203,E302,E131,E111,E114,E121,E501,E126,E123,E305,E402,I101,I100,N806,F403,E241,E731,F999,F401,F405,W503,E741,W504
exclude=*_pb2.py
[isort]
combine_star=True
force_grid_wrap=0
force_to_top=zigopt.common
include_trailing_comma=True
indent=' '
known_first_party=integration,libsigopt,sigopttest
known_libsigopt=libsigopt
known_third_party=backoff,bcrypt,boto3,botocore,cryptography,docker,google,mako,numpy,pg8000,pytz,qmcpy,redis,scipy,sklearn,sqlalchemy
known_zigopt=zigopt
known_localfolder=prod,deploys,scripts
line_length=120
lines_after_imports=2
sections=FUTURE,STDLIB,THIRDPARTY,LIBSIGOPT,ZIGOPT,FIRSTPARTY,LOCALFOLDER
skip=src/python/zigopt/protobuf/gen
use_parentheses=True
# Prefer Vertical Hanging Indent style (3)
# from package import (
# item1,
# item2,
# )
# https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output=3
[mypy]
check_untyped_defs=True
follow_imports=silent