AdsorPy 1.3.1a3__tar.gz → 1.3.2a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/PKG-INFO +32 -26
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/pyproject.toml +37 -24
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/sbom.cdx.json +1411 -738
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/gui.py +209 -177
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/molecule_lib.py +55 -63
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/randomsequentialadsorption.py +54 -60
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/rsa_calculator.py +18 -13
- adsorpy-1.3.2a1/src/adsorpy/rsa_config.py +128 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/run_simulation.py +113 -74
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/types.py +13 -5
- adsorpy-1.3.1a3/src/adsorpy/rsa_config.py +0 -90
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/LICENSE.md +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/README.md +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/VdW_Radii.csv +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/__init__.py +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/assets/Icon_attribution.txt +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/assets/book-open-list.png +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/assets/book-question.png +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/assets/bug--exclamation.png +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/assets/door-open-out.png +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/compiled_squared_cdist.c +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/compiled_squared_cdist.cpython-313-x86_64-linux-gnu.so +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/compiled_squared_cdist.pyx +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/config.json +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/molecule_colour.json +0 -0
- {adsorpy-1.3.1a3 → adsorpy-1.3.2a1}/src/adsorpy/vdw_radii.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: adsorpy
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.2a1
|
|
4
4
|
Summary: Random sequential adsorption (RSA) simulation, 2D lattice-based.
|
|
5
5
|
Project-URL: github, https://github.com/JoostFWMaas/AdsorPy
|
|
6
6
|
Project-URL: Documentation, https://joostfwmaas.github.io/AdsorPy
|
|
@@ -36,12 +36,14 @@ Requires-Dist: beautifulsoup4>=4.10.0
|
|
|
36
36
|
Requires-Dist: defusedxml>=0.7.1
|
|
37
37
|
Requires-Dist: entrypoints>=0.2.3
|
|
38
38
|
Requires-Dist: enum34>=1.1.10
|
|
39
|
+
Requires-Dist: frozendict>=2.4.7; python_version <= '3.14'
|
|
39
40
|
Requires-Dist: future>=1.0.0
|
|
40
41
|
Requires-Dist: html5lib>=1.1
|
|
41
42
|
Requires-Dist: ipaddress>=1.0.23
|
|
42
43
|
Requires-Dist: matplotlib>=3.10.9
|
|
43
44
|
Requires-Dist: numpy>=2.2.6
|
|
44
45
|
Requires-Dist: ply>=3.11
|
|
46
|
+
Requires-Dist: pre-commit>=4.6.2
|
|
45
47
|
Requires-Dist: pycparser>=3.0.0
|
|
46
48
|
Requires-Dist: pydantic-extra-types>=2.11.1
|
|
47
49
|
Requires-Dist: pydantic>=2.13.4
|
|
@@ -56,49 +58,51 @@ Requires-Dist: typing-extensions>=4.16.0
|
|
|
56
58
|
Requires-Dist: wcwidth>=0.7.0
|
|
57
59
|
Requires-Dist: webencodings>=0.5.1
|
|
58
60
|
Provides-Extra: dev-complete
|
|
59
|
-
Requires-Dist: basedpyright==1.
|
|
60
|
-
Requires-Dist: build>=1.
|
|
61
|
+
Requires-Dist: basedpyright==1.40.1; extra == 'dev-complete'
|
|
62
|
+
Requires-Dist: build>=1.6.1; extra == 'dev-complete'
|
|
61
63
|
Requires-Dist: check-wheel-contents>=0.6.3; extra == 'dev-complete'
|
|
62
64
|
Requires-Dist: cibuildwheel>=2.23.4; extra == 'dev-complete'
|
|
63
65
|
Requires-Dist: codecov>=2.1.13; extra == 'dev-complete'
|
|
64
|
-
Requires-Dist: cryptography>=50.0.
|
|
65
|
-
Requires-Dist: dask[distributed]>=2026.
|
|
66
|
+
Requires-Dist: cryptography>=50.0.1; extra == 'dev-complete'
|
|
67
|
+
Requires-Dist: dask[distributed]>=2026.8.0; extra == 'dev-complete'
|
|
66
68
|
Requires-Dist: easyprocess>=1.1; (sys_platform == 'linux') and extra == 'dev-complete'
|
|
67
69
|
Requires-Dist: furo>=2025.12.19; extra == 'dev-complete'
|
|
68
|
-
Requires-Dist: gitpython>=3.1.
|
|
70
|
+
Requires-Dist: gitpython>=3.1.62; extra == 'dev-complete'
|
|
69
71
|
Requires-Dist: h5py>=3.16.0; extra == 'dev-complete'
|
|
70
|
-
Requires-Dist: hypothesis>=6.
|
|
72
|
+
Requires-Dist: hypothesis>=6.168.0; extra == 'dev-complete'
|
|
71
73
|
Requires-Dist: mypy==2.3.1; extra == 'dev-complete'
|
|
72
74
|
Requires-Dist: nodeenv>=1.10.0; extra == 'dev-complete'
|
|
73
75
|
Requires-Dist: pandas>=2.3.3; extra == 'dev-complete'
|
|
74
76
|
Requires-Dist: pre-commit>=4.6.2; extra == 'dev-complete'
|
|
75
77
|
Requires-Dist: pyside6-stubs==6.7.3.0; extra == 'dev-complete'
|
|
76
78
|
Requires-Dist: pytest-cov>=7.1.0; extra == 'dev-complete'
|
|
79
|
+
Requires-Dist: pytest-env>=1.7.1; extra == 'dev-complete'
|
|
77
80
|
Requires-Dist: pytest-qt>=4.5.0; extra == 'dev-complete'
|
|
78
81
|
Requires-Dist: pytest-xvfb>=3.1.1; (sys_platform == 'linux') and extra == 'dev-complete'
|
|
79
82
|
Requires-Dist: pytest>=9.1.1; extra == 'dev-complete'
|
|
80
83
|
Requires-Dist: pyvirtualdisplay>=1.3; (sys_platform == 'linux') and extra == 'dev-complete'
|
|
81
|
-
Requires-Dist: ruff==0.16.
|
|
84
|
+
Requires-Dist: ruff==0.16.7; extra == 'dev-complete'
|
|
82
85
|
Requires-Dist: scipy>=1.15.3; extra == 'dev-complete'
|
|
83
86
|
Requires-Dist: seaborn>=0.13.2; extra == 'dev-complete'
|
|
84
|
-
Requires-Dist: slotscheck==0.
|
|
87
|
+
Requires-Dist: slotscheck==0.21.0; extra == 'dev-complete'
|
|
85
88
|
Requires-Dist: sphinx-autodoc-typehints>=3.0.1; extra == 'dev-complete'
|
|
86
89
|
Requires-Dist: sphinx-design>=0.6.1; extra == 'dev-complete'
|
|
87
90
|
Requires-Dist: sphinx-pyproject>=0.3.0; extra == 'dev-complete'
|
|
88
91
|
Requires-Dist: sphinx>=8.1.3; extra == 'dev-complete'
|
|
89
|
-
Requires-Dist: tach==0.35.
|
|
92
|
+
Requires-Dist: tach==0.35.1; extra == 'dev-complete'
|
|
90
93
|
Requires-Dist: tox-uv==1.36.0; extra == 'dev-complete'
|
|
91
|
-
Requires-Dist: tox==4.
|
|
92
|
-
Requires-Dist: twine>=
|
|
93
|
-
Requires-Dist:
|
|
94
|
+
Requires-Dist: tox==4.61.4; extra == 'dev-complete'
|
|
95
|
+
Requires-Dist: twine>=7.0.0; extra == 'dev-complete'
|
|
96
|
+
Requires-Dist: types-shapely>=2.1.0.20260728; extra == 'dev-complete'
|
|
97
|
+
Requires-Dist: uv==0.12.15; extra == 'dev-complete'
|
|
94
98
|
Provides-Extra: dev-misc
|
|
95
|
-
Requires-Dist: build>=1.
|
|
99
|
+
Requires-Dist: build>=1.6.1; extra == 'dev-misc'
|
|
96
100
|
Requires-Dist: check-wheel-contents>=0.6.3; extra == 'dev-misc'
|
|
97
101
|
Requires-Dist: cibuildwheel>=2.23.4; extra == 'dev-misc'
|
|
98
|
-
Requires-Dist: cryptography>=50.0.
|
|
102
|
+
Requires-Dist: cryptography>=50.0.1; extra == 'dev-misc'
|
|
99
103
|
Requires-Dist: nodeenv>=1.10.0; extra == 'dev-misc'
|
|
100
104
|
Requires-Dist: pre-commit>=4.6.2; extra == 'dev-misc'
|
|
101
|
-
Requires-Dist: twine>=
|
|
105
|
+
Requires-Dist: twine>=7.0.0; extra == 'dev-misc'
|
|
102
106
|
Provides-Extra: docs
|
|
103
107
|
Requires-Dist: furo>=2025.12.19; extra == 'docs'
|
|
104
108
|
Requires-Dist: sphinx-autodoc-typehints>=3.0.1; extra == 'docs'
|
|
@@ -107,29 +111,31 @@ Requires-Dist: sphinx-pyproject>=0.3.0; extra == 'docs'
|
|
|
107
111
|
Requires-Dist: sphinx>=8.1.3; extra == 'docs'
|
|
108
112
|
Provides-Extra: envs
|
|
109
113
|
Requires-Dist: tox-uv==1.36.0; extra == 'envs'
|
|
110
|
-
Requires-Dist: tox==4.
|
|
111
|
-
Requires-Dist: uv==0.12.
|
|
114
|
+
Requires-Dist: tox==4.61.4; extra == 'envs'
|
|
115
|
+
Requires-Dist: uv==0.12.15; extra == 'envs'
|
|
112
116
|
Provides-Extra: gui-deps
|
|
113
|
-
Requires-Dist: dask[distributed]>=2026.
|
|
117
|
+
Requires-Dist: dask[distributed]>=2026.8.0; extra == 'gui-deps'
|
|
114
118
|
Requires-Dist: h5py>=3.16.0; extra == 'gui-deps'
|
|
115
119
|
Requires-Dist: pandas>=2.3.3; extra == 'gui-deps'
|
|
116
120
|
Requires-Dist: seaborn>=0.13.2; extra == 'gui-deps'
|
|
117
121
|
Provides-Extra: lint
|
|
118
|
-
Requires-Dist: basedpyright==1.
|
|
119
|
-
Requires-Dist: gitpython>=3.1.
|
|
122
|
+
Requires-Dist: basedpyright==1.40.1; extra == 'lint'
|
|
123
|
+
Requires-Dist: gitpython>=3.1.62; extra == 'lint'
|
|
120
124
|
Requires-Dist: mypy==2.3.1; extra == 'lint'
|
|
121
125
|
Requires-Dist: pyside6-stubs==6.7.3.0; extra == 'lint'
|
|
122
|
-
Requires-Dist: ruff==0.16.
|
|
123
|
-
Requires-Dist: slotscheck==0.
|
|
124
|
-
Requires-Dist: tach==0.35.
|
|
126
|
+
Requires-Dist: ruff==0.16.7; extra == 'lint'
|
|
127
|
+
Requires-Dist: slotscheck==0.21.0; extra == 'lint'
|
|
128
|
+
Requires-Dist: tach==0.35.1; extra == 'lint'
|
|
129
|
+
Requires-Dist: types-shapely>=2.1.0.20260728; extra == 'lint'
|
|
125
130
|
Provides-Extra: test
|
|
126
131
|
Requires-Dist: codecov>=2.1.13; extra == 'test'
|
|
127
|
-
Requires-Dist: dask[distributed]>=2026.
|
|
132
|
+
Requires-Dist: dask[distributed]>=2026.8.0; extra == 'test'
|
|
128
133
|
Requires-Dist: easyprocess>=1.1; (sys_platform == 'linux') and extra == 'test'
|
|
129
134
|
Requires-Dist: h5py>=3.16.0; extra == 'test'
|
|
130
|
-
Requires-Dist: hypothesis>=6.
|
|
135
|
+
Requires-Dist: hypothesis>=6.168.0; extra == 'test'
|
|
131
136
|
Requires-Dist: pandas>=2.3.3; extra == 'test'
|
|
132
137
|
Requires-Dist: pytest-cov>=7.1.0; extra == 'test'
|
|
138
|
+
Requires-Dist: pytest-env>=1.7.1; extra == 'test'
|
|
133
139
|
Requires-Dist: pytest-qt>=4.5.0; extra == 'test'
|
|
134
140
|
Requires-Dist: pytest-xvfb>=3.1.1; (sys_platform == 'linux') and extra == 'test'
|
|
135
141
|
Requires-Dist: pytest>=9.1.1; extra == 'test'
|
|
@@ -27,7 +27,7 @@ extra_link_args = ["-lomp"]
|
|
|
27
27
|
[project]
|
|
28
28
|
name = "adsorpy"
|
|
29
29
|
#dynamic = ["version"] # The Python guide says that this will use the Git tag to fill it in.
|
|
30
|
-
version = "1.3.
|
|
30
|
+
version = "1.3.2-alpha.1" # Edit manually.
|
|
31
31
|
description = "Random sequential adsorption (RSA) simulation, 2D lattice-based."
|
|
32
32
|
authors = [{ name = "J.F.W. Maas", email = "j.f.w.maas@tue.nl" }]
|
|
33
33
|
readme = "README.md"
|
|
@@ -57,7 +57,7 @@ classifiers = [
|
|
|
57
57
|
"Programming Language :: Python :: 3.12",
|
|
58
58
|
"Programming Language :: Python :: 3.13",
|
|
59
59
|
"Programming Language :: Python :: 3.14",
|
|
60
|
-
# This does not run on mobile because of Shapely.
|
|
60
|
+
# This does not run on mobile because of Shapely. It runs everywhere else, see matrix tests in CI.
|
|
61
61
|
"Operating System :: OS Independent",
|
|
62
62
|
]
|
|
63
63
|
keywords = [
|
|
@@ -80,7 +80,6 @@ keywords = [
|
|
|
80
80
|
|
|
81
81
|
dependencies = [
|
|
82
82
|
"numpy>=2.2.6",
|
|
83
|
-
# "numba>=0.67.0",
|
|
84
83
|
"matplotlib>=3.10.9",
|
|
85
84
|
"shapely>=2.1.2",
|
|
86
85
|
"pydantic>=2.13.4",
|
|
@@ -90,6 +89,7 @@ dependencies = [
|
|
|
90
89
|
"defusedxml>=0.7.1",
|
|
91
90
|
"PySide6>=6.11.1",
|
|
92
91
|
"typing-extensions>=4.16.0",
|
|
92
|
+
"frozendict>=2.4.7; python_version <= '3.14'", # This exists in default Python starting 3.15.
|
|
93
93
|
# Everything after this line is included so uv also runs with the lowest dependency resolution.
|
|
94
94
|
"html5lib>=1.1",
|
|
95
95
|
"wcwidth>=0.7.0",
|
|
@@ -104,6 +104,7 @@ dependencies = [
|
|
|
104
104
|
"enum34>=1.1.10",
|
|
105
105
|
"ipaddress>=1.0.23",
|
|
106
106
|
"ply>=3.11",
|
|
107
|
+
"pre-commit>=4.6.2",
|
|
107
108
|
]
|
|
108
109
|
|
|
109
110
|
|
|
@@ -111,7 +112,7 @@ dependencies = [
|
|
|
111
112
|
test = [
|
|
112
113
|
"pytest>=9.1.1",
|
|
113
114
|
"pytest-cov>=7.1.0",
|
|
114
|
-
"hypothesis>=6.
|
|
115
|
+
"hypothesis>=6.168.0",
|
|
115
116
|
"scipy>=1.15.3",
|
|
116
117
|
"codecov>=2.1.13",
|
|
117
118
|
"pytest-qt>=4.5.0",
|
|
@@ -119,15 +120,17 @@ test = [
|
|
|
119
120
|
"pytest-xvfb>=3.1.1; sys_platform == 'linux'",
|
|
120
121
|
"pyvirtualdisplay>=1.3; sys_platform == 'linux'",
|
|
121
122
|
"easyprocess>=1.1; sys_platform == 'linux'",
|
|
123
|
+
"pytest-env>=1.7.1",
|
|
122
124
|
]
|
|
123
125
|
lint = [
|
|
124
126
|
"mypy==2.3.1",
|
|
125
|
-
"ruff==0.16.
|
|
126
|
-
"basedpyright==1.
|
|
127
|
-
"tach==0.35.
|
|
128
|
-
"slotscheck==0.
|
|
127
|
+
"ruff==0.16.7",
|
|
128
|
+
"basedpyright==1.40.1",
|
|
129
|
+
"tach==0.35.1",
|
|
130
|
+
"slotscheck==0.21.0",
|
|
129
131
|
"pyside6-stubs==6.7.3.0",
|
|
130
|
-
"gitpython>=3.1.
|
|
132
|
+
"gitpython>=3.1.62",
|
|
133
|
+
"types-shapely>=2.1.0.20260728",
|
|
131
134
|
]
|
|
132
135
|
docs = [
|
|
133
136
|
"sphinx>=8.1.3",
|
|
@@ -137,14 +140,14 @@ docs = [
|
|
|
137
140
|
"sphinx-pyproject>=0.3.0",
|
|
138
141
|
]
|
|
139
142
|
envs = [
|
|
140
|
-
"tox==4.
|
|
143
|
+
"tox==4.61.4",
|
|
141
144
|
"tox-uv==1.36.0",
|
|
142
|
-
"uv==0.12.
|
|
145
|
+
"uv==0.12.15",
|
|
143
146
|
]
|
|
144
147
|
dev-misc = [
|
|
145
|
-
"build>=1.
|
|
146
|
-
"twine>=
|
|
147
|
-
"cryptography>=50.0.
|
|
148
|
+
"build>=1.6.1",
|
|
149
|
+
"twine>=7.0.0",
|
|
150
|
+
"cryptography>=50.0.1",
|
|
148
151
|
"check-wheel-contents>=0.6.3",
|
|
149
152
|
"pre-commit>=4.6.2",
|
|
150
153
|
"nodeenv>=1.10.0",
|
|
@@ -154,7 +157,7 @@ gui-deps = [
|
|
|
154
157
|
"pandas>=2.3.3",
|
|
155
158
|
"h5py>=3.16.0",
|
|
156
159
|
"seaborn>=0.13.2",
|
|
157
|
-
"dask[distributed]>=2026.
|
|
160
|
+
"dask[distributed]>=2026.8.0",
|
|
158
161
|
]
|
|
159
162
|
dev-complete = [
|
|
160
163
|
"adsorpy[test,lint,docs,envs,dev-misc,gui-deps]"
|
|
@@ -198,6 +201,7 @@ testpaths = ["tests"]
|
|
|
198
201
|
pythonpath = ["."]
|
|
199
202
|
addopts = ["--cov=adsorpy", "--cov-report=term", "--cov-report=html", "--strict-markers", "--import-mode=importlib"]
|
|
200
203
|
qt_api = "pyside6"
|
|
204
|
+
env = ["QT_QPA_PLATFORM=offscreen"]
|
|
201
205
|
|
|
202
206
|
|
|
203
207
|
[tool.coverage.run]
|
|
@@ -206,8 +210,7 @@ omit = [
|
|
|
206
210
|
"*/Output/*",
|
|
207
211
|
"*/__main__.py",
|
|
208
212
|
"*/__init__.py",
|
|
209
|
-
"*/molecule_lib*.py", # There is no point in testing the individual molecules.
|
|
210
|
-
"*/rsa_config.py", # Cannot be tested properly. Will be reworked.
|
|
213
|
+
# "*/molecule_lib*.py", # There is no point in testing the individual molecules.
|
|
211
214
|
"*/sensitivity.py", # Demonstrator, not included.
|
|
212
215
|
"*/Scripts/*",
|
|
213
216
|
]
|
|
@@ -253,10 +256,18 @@ mypy_path = ["."]
|
|
|
253
256
|
ignore_missing_imports = true
|
|
254
257
|
strict = true
|
|
255
258
|
disallow_any_explicit = true
|
|
256
|
-
#disallow_any_decorated = true # Throws an error because geo.Polygon in a tuple is turned into Any for the @staticmethod.
|
|
257
|
-
#warn_unreachable = true # Set this to true when pushing to main?
|
|
258
259
|
exclude = ['/Scripts']
|
|
259
260
|
plugins = ["pydantic.mypy"]
|
|
261
|
+
allow_untyped_decorators = true
|
|
262
|
+
native_parser = true
|
|
263
|
+
show_error_end = true
|
|
264
|
+
show_error_code_links = true
|
|
265
|
+
show_error_context = true
|
|
266
|
+
enable_error_code = "exhaustive-match"
|
|
267
|
+
|
|
268
|
+
[[tool.mypy.overrides]]
|
|
269
|
+
module = "tests.*"
|
|
270
|
+
disallow_untyped_calls = false
|
|
260
271
|
|
|
261
272
|
|
|
262
273
|
[tool.pydantic-mypy]
|
|
@@ -264,7 +275,10 @@ init_forbid_extra = true
|
|
|
264
275
|
init_typed = true
|
|
265
276
|
warn_required_dynamic_aliases = true
|
|
266
277
|
disallow_subclassing_any = false
|
|
267
|
-
|
|
278
|
+
exhaustive-match = true
|
|
279
|
+
show-error-end = true
|
|
280
|
+
show-error-code-links = true
|
|
281
|
+
native-parser = true
|
|
268
282
|
|
|
269
283
|
[tool.flake8]
|
|
270
284
|
max-line-length = 120
|
|
@@ -362,19 +376,18 @@ reportUnknownMemberType = "none"
|
|
|
362
376
|
reportUnknownVariableType = "none"
|
|
363
377
|
reportUnknownParameterType = "none"
|
|
364
378
|
reportUnknownArgumentType = "none"
|
|
365
|
-
reportUnnecessaryCast = "none" # These are needed for mypy.
|
|
366
|
-
reportUnnecessaryIsInstance = "none" # These are needed for mypy.
|
|
379
|
+
#reportUnnecessaryCast = "none" # These are needed for mypy.
|
|
380
|
+
#reportUnnecessaryIsInstance = "none" # These are needed for mypy.
|
|
367
381
|
|
|
368
382
|
# Keep useful strict checks.
|
|
369
383
|
reportImplicitOverride = "error"
|
|
370
384
|
reportPrivateUsage = "warning"
|
|
371
|
-
reportUnnecessaryTypeIgnoreComment = "warning"
|
|
372
385
|
reportUnnecessaryComparison = "warning" # These are usually included to prevent the user from breaking things.
|
|
373
386
|
|
|
374
387
|
# Basedpyright options, comment these out when falling back on pyright:
|
|
375
388
|
typeCheckingMode = "strict" # Comment when using pyright. Options (increasingly strict): "strict", "recommended", "all".
|
|
376
389
|
failOnWarnings = false # basedpyright by default allows warnings on check but fails warnings on CI. That is inconsistent behaviour, so this disables that.
|
|
377
|
-
executionEnvironments = [{ root = "tests", reportPrivateUsage = "none",
|
|
390
|
+
executionEnvironments = [{ root = "tests", reportPrivateUsage = "none", reportArgumentType = "none"}]
|
|
378
391
|
|
|
379
392
|
|
|
380
393
|
[tool.slotscheck]
|