-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.cfg
More file actions
31 lines (28 loc) · 821 Bytes
/
Copy pathsetup.cfg
File metadata and controls
31 lines (28 loc) · 821 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
[tool:pytest]
python_files = *_tests.py
addopts = --cov=reddit_experiments --cov-report term --cov-report html:build/coverage --no-cov-on-fail --pdbcls=IPython.terminal.debugger:Pdb
[flake8]
max-line-length = 100
ignore = E203, E501, W503
exclude =
build/
.eggs/
[mypy]
warn_unused_configs = True
disallow_any_generics = False
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = False
no_implicit_reexport = True
strict_equality = True
[mypy-rust_decider]
# TODO: add stubs to reddit-decider
# see https://pyo3.rs/v0.16.2/python_typing_hints.html
ignore_missing_imports = True