forked from kernc/backtesting.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
34 lines (31 loc) · 706 Bytes
/
setup.cfg
File metadata and controls
34 lines (31 loc) · 706 Bytes
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
[flake8]
# F824 `nonlocal x` is unused: name is never assigned in scope
# W503 Line break before a binary operator
# W504 Line break after a binary operator -- https://www.flake8rules.com/rules/W504.html
ignore = F824, W503, W504
max-line-length = 120
exclude =
.git,
.eggs,
__pycache__,
doc/examples
[mypy]
warn_unused_ignores = True
warn_redundant_casts = True
ignore_missing_imports = True
[coverage:run]
parallel = 1
concurrency = multiprocessing,thread
disable_warnings = no-data-collected
source =
backtesting
doc/examples
omit =
[coverage:report]
exclude_lines =
^\s*continue\b
^\s*return\b
^\s*raise\b
^\s*except\b
^\s*warnings\.warn\(
^\s*warn\(