forked from Lightning-Universe/lightning-bolts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
59 lines (50 loc) · 1.22 KB
/
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
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
[tool:pytest]
norecursedirs =
.git
dist
build
addopts =
--strict
--doctest-modules
--durations=0
--color=yes
[coverage:run]
parallel = True
#concurrency = thread, multiprocessing
concurrency = thread
[coverage:report]
exclude_lines =
pragma: no-cover
pass
if __name__ == .__main__.:
# TODO, remove this ignores in future
omit =
pl_bolts/datamodules/*_datamodule.py
pl_bolts/datamodules/*_dataset.py
[flake8]
max-line-length = 120
exclude = .tox,*.egg,build,temp
select = E,W,F
doctests = True
verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint
# see: https://www.flake8rules.com/
ignore =
E231 # Ignore "Missing whitespace after ',', ';', or ':'"
E731 # Ignore "Do not assign a lambda expression, use a def"
W503 # Ignore "Line break occurred before a binary operator"
W504 # Ignore "Line break occurred after a binary operator"
W605 # Ignore "Invalid escape sequence 'x'"
E203 # whitespace before ':'
[check-manifest]
ignore =
*.yml
.github
.github/*
.circleci
[metadata]
license_file = LICENSE
description-file = README.md
# long_description = file:README.md
# long_description_content_type = text/markdown