-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.cfg
91 lines (79 loc) · 2.31 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
87
88
89
90
91
[yapf]
arithmetic_precedence_indication = true
column_limit = 129
[isort]
line_length = 129
wrap_length = 129
balanced_wrapping = true
skip = livedata,output,logs,.git,.venv,__pycache__,interactive,tmp
multi_line_output = 2
known_future_library = __future__, interactive_utils, interactive.setup
known_third_party =
[tool:pytest]
addopts = --doctest-modules --cov-report=xml --cov-report=term --no-cov-on-fail --ignore-glob=*_i.py --ignore-glob=browse*.py --ignore-glob=interactive*
norecursedirs = .git .vscode dumps livedata testdata output
filterwarnings =
ignore:the imp module is deprecated:DeprecationWarning
markers =
uses_copyright_material: Test may have to be removed as it depends on copyrighted material to run
requires_game: Requires a managed install of the game assets, including the PurlviaTEST mod
[mypy]
python_version = 3.10
plugins = pydantic.mypy
exclude = (.git|.vscode|.pytest_cache|dumps|livedata|testdata|output|tmp)/
[mypy-guppy]
ignore_missing_imports = true
[mypy-psutil]
ignore_missing_imports = true
[mypy-amazon]
ignore_missing_imports = true
[mypy-amazon.ion]
ignore_missing_imports = true
[mypy-amazon.ion.simpleion]
ignore_missing_imports = true
[mypy-amazon.ion.symbols]
ignore_missing_imports = true
[coverage:run]
omit=
.venv/*
__pycache__/*
*/test_*.py
tests/*
interactive/*
interactive_utils.py
[coverage:report]
exclude_lines =
# Ignore pretty print formatting
if.* support_pretty:
def _repr_pretty_
[flake8]
max-line-length = 129
ignore =
# Handled by formatter...
E124 # closing bracket does not match visual indentation
E125 # continuation indent
E128 # continuation line under-indented for visual indent
E131 # continuation unaligned
E226 # missing whitespace around arithmetic operator
E251 # unexpected spaces around keyword / parameter equals
W504 # line break after binary operator
exclude =
.git,
.venv,
.mypy_cache,
.pytest_cache,
__pycache__,
interactive,
livedata,
output,
config,
logs,
tmp,
export/maps/region_maps, # remove once cleaned
export/maps/spawn_maps # remove once cleaned
per-file-ignores =
interactive_utils.py:E265
*/test_*.py:F632,E712
automate/test_jsonutils.py:E501
interactive/*.py:E265,F401,F403
export/maps/spawn_maps/*.py:E501