This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
86 lines (65 loc) · 1.89 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[flake8]
exclude = .git,venv,build_env,build,README.md,ui,definitions,nx-class-documentation
max-line-length = 119
ignore = E501, E203, E402, W503, Q000, W293, E266, E123, C901
# E501 & E203: Formatting handled by Black
# E402 complains about imports not being at the top
# W503 complains about splitting if across lines which conflicts with Black
# Q000 complains about using "" and not '' which conflicts with Black
# W293 blank lines with whitespace, conflicts with Black in doc comments
max-complexity = 18
per-file-ignores =
nexus_constructor/geometry/__init__.py:F401
tests/ui_tests/test_ui_fields.py:F811,F401
tests/json/test_shape_reader.py:F811,F401
# for pytest.skip statements in tests that need to be fixed but the tested file has been removed
tests/*:E402,F821
[isort]
skip = ui,definitions,nx-class-documentation
[tool:pytest]
addopts = -s
[mutmut]
paths_to_mutate=nexus_constructor/
backup=False
runner=pytest .
tests_dir=tests/
dict_synonyms=Struct, NamedStruct
[mypy]
check_untyped_defs = True
no_site_packages=True
no_implicit_optional=True
no_strict_optional=True
[mypy-confluent_kafka.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-h5py.*]
ignore_missing_imports = True
[mypy-pytestqt.*]
ignore_missing_imports = True
[mypy-PySide2.*]
ignore_missing_imports = True
[mypy-silx.*]
ignore_missing_imports = True
[mypy-nexusutils.*]
ignore_missing_imports = True
[mypy-xmltodict.*]
ignore_missing_imports = True
[mypy-cx_Freeze.*]
ignore_missing_imports = True
[mypy-pint.*]
ignore_missing_imports = True
[mypy-streaming_data_types.*]
ignore_missing_imports = True
[mypy-stl.*]
ignore_missing_imports = True
[mypy-definitions.*]
ignore_errors = True
[mypy-tests.*]
ignore_errors = True
[mypy-nexus_constructor.treeview_utils]
ignore_errors = True