-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.cfg
More file actions
53 lines (46 loc) · 1.09 KB
/
Copy pathsetup.cfg
File metadata and controls
53 lines (46 loc) · 1.09 KB
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
[mypy]
python_version = 3.11
warn_return_any = True
warn_unused_configs = 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_no_return = True
warn_unreachable = True
strict_optional = True
[mypy.plugins.numpy.*]
ignore_missing_imports = True
[mypy.plugins.torch.*]
ignore_missing_imports = True
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test
python_functions = test_*
addopts = -v --cov=src --cov-report=term-missing
[coverage:run]
source = src
omit = tests/*
[isort]
profile = black
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88
[pylint]
max-line-length = 88
disable = C0111,R0903,C0103
good-names = i,j,k,ex,Run,_,fp,id
ignore = CVS
ignore-patterns =
output-format = colorized
reports = no
score = no
[pylint.messages_control]
disable = C0111,R0903,C0103,C0303,C0304,C0305,W0311,W0312,C0321,C0325,C0326,C0330