1 Star 1 Fork 1

幽鸟/scipy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mypy.ini 12.69 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
[mypy]
warn_redundant_casts = True
warn_unused_ignores = True
show_error_codes = True
plugins = numpy.typing.mypy_plugin
#
# Typing tests is low priority, but enabling type checking on the
# untyped test functions is still high-value because it helps test the
# typing.
#
[mypy-scipy.special.tests.test_orthogonal]
check_untyped_defs = True
[mypy-scipy.special.tests.test_sf_error]
check_untyped_defs = True
[mypy-scipy.spatial.tests.test_spherical_voronoi]
check_untyped_defs = True
#
# The ratchet
#
#
# Standard library modules that don't have types
#
[mypy-cffi]
ignore_missing_imports = True
#
# Third party dependencies that don't have types.
#
[mypy-sksparse]
ignore_missing_imports = True
[mypy-sksparse.*]
ignore_missing_imports = True
[mypy-sparse]
ignore_missing_imports = True
[mypy-scikits]
ignore_missing_imports = True
[mypy-scikits.*]
ignore_missing_imports = True
[mypy-uarray]
ignore_missing_imports = True
[mypy-pythran]
ignore_missing_imports = True
[mypy-pythran.*]
ignore_missing_imports = True
[mypy-mpmath]
ignore_missing_imports = True
[mypy-threadpoolctl]
ignore_missing_imports = True
[mypy-sympy.*]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-pytest_timeout.*]
ignore_missing_imports = True
[mypy-pooch]
ignore_missing_imports = True
[mypy-appdirs]
ignore_missing_imports = True
#
# Extension modules without stubs.
#
[mypy-scipy.signal._peak_finding_utils]
ignore_missing_imports = True
[mypy-scipy.signal._upfirdn_apply]
ignore_missing_imports = True
[mypy-scipy.signal._spectral]
ignore_missing_imports = True
[mypy-scipy.integrate._test_odeint_banded]
ignore_missing_imports = True
[mypy-scipy.integrate._test_multivariate]
ignore_missing_imports = True
[mypy-scipy._lib._ccallback_c]
ignore_missing_imports = True
[mypy-scipy.cluster._hierarchy]
ignore_missing_imports = True
[mypy-scipy.optimize._bglu_dense]
ignore_missing_imports = True
[mypy-scipy.optimize._slsqp]
ignore_missing_imports = True
[mypy-scipy.interpolate.dfitpack]
ignore_missing_imports = True
[mypy-scipy.interpolate.interpnd]
ignore_missing_imports = True
[mypy-scipy.interpolate._bspl]
ignore_missing_imports = True
[mypy-scipy.interpolate._rgi_cython]
ignore_missing_imports = True
[mypy-scipy.linalg.cython_blas]
ignore_missing_imports = True
[mypy-scipy.linalg._decomp_update]
ignore_missing_imports = True
[mypy-scipy.linalg._solve_toeplitz]
ignore_missing_imports = True
[mypy-scipy.linalg._interpolative]
ignore_missing_imports = True
[mypy-scipy.optimize._group_columns]
ignore_missing_imports = True
[mypy-scipy.io.matlab._mio5_utils]
ignore_missing_imports = True
[mypy-scipy.io.matlab._streams]
ignore_missing_imports = True
[mypy-scipy.sparse.linalg._dsolve._superlu]
ignore_missing_imports = True
[mypy-scipy.io.matlab._mio_utils]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._tools]
ignore_missing_imports = True
[mypy-scipy.sparse._sparsetools]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._reordering]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._matching]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._flow]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._min_spanning_tree]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._traversal]
ignore_missing_imports = True
[mypy-scipy.sparse.csgraph._shortest_path]
ignore_missing_imports = True
[mypy-scipy.fft._pocketfft.pypocketfft]
ignore_missing_imports = True
[mypy-scipy.signal._max_len_seq_inner]
ignore_missing_imports = True
[mypy-scipy.special._ellip_harm_2]
ignore_missing_imports = True
[mypy-scipy._lib._fpumode]
ignore_missing_imports = True
[mypy-scipy.optimize._trlib._trlib]
ignore_missing_imports = True
[mypy-scipy.stats._biasedurn]
ignore_missing_imports = True
[mypy-scipy.stats._stats_pythran]
ignore_missing_imports = True
[mypy-scipy.interpolate._rbfinterp_pythran]
ignore_missing_imports = True
[mypy-scipy.stats._boost.*]
ignore_missing_imports = True
[mypy-scipy.stats._statlib]
ignore_missing_imports = True
[mypy-scipy.stats._levy_stable.levyst]
ignore_missing_imports = True
[mypy-scipy.stats._rcont.rcont]
ignore_missing_imports = True
#
# Files with various errors. Likely some false positives, but likely
# some real bugs too.
#
[mypy-scipy.__config__]
ignore_errors = True
[mypy-scipy._build_utils.tempita]
ignore_errors = True
[mypy-scipy.signal.tests.test_signaltools]
ignore_errors = True
[mypy-scipy.stats._variation]
ignore_errors = True
[mypy-scipy.stats.tests.test_rank]
ignore_errors = True
[mypy-scipy.stats._continuous_distns]
ignore_errors = True
[mypy-scipy.stats.distributions]
ignore_errors = True
[mypy-scipy.stats.tests.test_distributions]
ignore_errors = True
[mypy-scipy.integrate.tests.test_integrate]
ignore_errors = True
[mypy-scipy.signal._ltisys]
ignore_errors = True
[mypy-scipy.integrate._ode]
ignore_errors = True
[mypy-scipy.optimize.tests.test_nonlin]
ignore_errors = True
[mypy-scipy.integrate._bvp]
ignore_errors = True
[mypy-scipy.optimize.tests.test_least_squares]
ignore_errors = True
[mypy-scipy.optimize.tests.test_linprog]
ignore_errors = True
[mypy-scipy.optimize._tstutils]
ignore_errors = True
[mypy-scipy.optimize]
ignore_errors = True
[mypy-scipy.optimize._lsq.least_squares]
ignore_errors = True
[mypy-scipy.optimize._trustregion_constr.minimize_trustregion_constr]
ignore_errors = True
[mypy-scipy.optimize._linprog]
ignore_errors = True
[mypy-scipy.optimize._linprog_util]
ignore_errors = True
[mypy-scipy.optimize._linprog_highs]
ignore_errors = True
[mypy-scipy.optimize._highs.highs_wrapper]
ignore_errors = True
[mypy-scipy.optimize._highs.constants]
ignore_errors = True
[mypy-scipy.optimize._trustregion]
ignore_errors = True
[mypy-scipy.optimize._trustregion_dogleg]
ignore_errors = True
[mypy-scipy.optimize._trustregion_ncg]
ignore_errors = True
[mypy-scipy.optimize._cobyla_py]
ignore_errors = True
[mypy-scipy.optimize._linprog_ip]
ignore_errors = True
[mypy-scipy.optimize._minpack_py]
ignore_errors = True
[mypy-scipy.optimize._nnls]
ignore_errors = True
[mypy-scipy.optimize._optimize]
ignore_errors = True
[mypy-scipy.optimize._pava_pybind]
ignore_missing_imports = True
[mypy-scipy.optimize._basinhopping]
ignore_errors = True
[mypy-scipy.integrate._ivp.radau]
ignore_errors = True
[mypy-scipy.optimize._trustregion_constr.tests.test_projections]
ignore_errors = True
[mypy-scipy.integrate.quadrature]
ignore_errors = True
[mypy-scipy.linalg.tests.test_fblas]
ignore_errors = True
[mypy-scipy.signal.windows._windows]
ignore_errors = True
[mypy-scipy.signal._bsplines]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.tests.test_gcrotmk]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.tests.test_lgmres]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.tests.test_utils]
ignore_errors = True
[mypy-scipy.sparse.tests.test_base]
ignore_errors = True
[mypy-scipy.linalg._basic]
ignore_errors = True
[mypy-scipy.linalg._flinalg_py]
ignore_errors = True
[mypy-scipy.linalg.lapack]
ignore_errors = True
[mypy-scipy.fftpack._pseudo_diffs]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.utils]
ignore_errors = True
[mypy-scipy.integrate._quad_vec]
ignore_errors = True
[mypy-scipy.sparse._compressed]
ignore_errors = True
[mypy-scipy.sparse._data]
ignore_errors = True
[mypy-scipy.sparse._dok]
ignore_errors = True
[mypy-scipy.sparse._index]
ignore_errors = True
[mypy-scipy]
ignore_errors = True
[mypy-scipy.fft]
ignore_errors = True
[mypy-scipy.fft._helper]
ignore_errors = True
[mypy-scipy.fft._pocketfft.basic]
ignore_errors = True
[mypy-scipy.fft._pocketfft.realtransforms]
ignore_errors = True
[mypy-scipy._lib._pep440]
ignore_errors = True
[mypy-scipy._lib.decorator]
ignore_errors = True
[mypy-scipy._lib._bunch]
ignore_errors = True
[mypy-scipy.io.arff._arffread]
ignore_errors = True
[mypy-scipy.io._netcdf]
ignore_errors = True
[mypy-scipy.sparse._sputils]
ignore_errors = True
[mypy-scipy.linalg._generate_pyx]
ignore_errors = True
[mypy-scipy.sparse.tests.test_sparsetools]
ignore_errors = True
[mypy-scipy.stats._discrete_distns]
ignore_errors = True
[mypy-scipy.spatial.tests.test_distance]
ignore_errors = True
[mypy-scipy.stats.tests.test_qmc]
ignore_errors = True
[mypy-scipy.stats.tests.test_sampling]
ignore_errors = True
[mypy-scipy.stats.tests.test_odds_ratio]
ignore_errors = True
#
# Files referencing compiled code that needs stubs added.
#
[mypy-scipy.stats.tests.test_multivariate]
ignore_errors = True
[mypy-scipy.signal.tests.test_windows]
ignore_errors = True
[mypy-scipy.stats.tests.test_continuous_basic]
ignore_errors = True
[mypy-scipy.stats.tests.test_continuous_fit_censored]
ignore_errors = True
[mypy-scipy.linalg.tests.test_decomp]
ignore_errors = True
[mypy-scipy.linalg.tests.test_lapack]
ignore_errors = True
[mypy-scipy.signal]
ignore_errors = True
[mypy-scipy.signal._fir_filter_design]
ignore_errors = True
[mypy-scipy.signal._signaltools]
ignore_errors = True
[mypy-scipy.sparse.linalg._eigen.tests.test_svds]
ignore_errors = True
[mypy-scipy.stats.tests.test_discrete_distns]
ignore_errors = True
[mypy-scipy.stats.tests.test_discrete_basic]
ignore_errors = True
[mypy-scipy.stats._mstats_extras]
ignore_errors = True
[mypy-scipy.stats._multivariate]
ignore_errors = True
[mypy-scipy.stats._kde]
ignore_errors = True
[mypy-scipy.stats._morestats]
ignore_errors = True
[mypy-scipy.stats._stats_py]
ignore_errors = True
[mypy-scipy.interpolate.tests.test_interpolate]
ignore_errors = True
[mypy-scipy.integrate._odepack_py]
ignore_errors = True
[mypy-scipy.integrate._quadpack_py]
ignore_errors = True
[mypy-scipy.integrate.tests.test_bvp]
ignore_errors = True
[mypy-scipy.optimize.tests.test_lbfgsb_setulb]
ignore_errors = True
[mypy-scipy.spatial.transform.tests.test_rotation_groups]
ignore_errors = True
[mypy-scipy.cluster.tests.test_vq]
ignore_errors = True
[mypy-scipy.optimize._lsq.lsq_linear]
ignore_errors = True
[mypy-scipy.optimize._lsq.trf_linear]
ignore_errors = True
[mypy-scipy.optimize._lsq.dogbox]
ignore_errors = True
[mypy-scipy.optimize._lsq.trf]
ignore_errors = True
[mypy-scipy.optimize._dual_annealing]
ignore_errors = True
[mypy-scipy.optimize._lsap]
ignore_errors = True
[mypy-scipy.optimize._lbfgsb_py]
ignore_errors = True
[mypy-scipy.optimize._linesearch]
ignore_errors = True
[mypy-scipy.optimize._tnc]
ignore_errors = True
[mypy-scipy.optimize._zeros_py]
ignore_errors = True
[mypy-scipy.optimize.moduleTNC]
ignore_errors = True
[mypy-scipy.optimize.minpack2]
ignore_errors = True
[mypy-scipy.cluster.hierarchy]
ignore_errors = True
[mypy-scipy.cluster.vq]
ignore_errors = True
[mypy-scipy.interpolate.tests.test_bsplines]
ignore_errors = True
[mypy-scipy.spatial.tests.test__plotutils]
ignore_errors = True
[mypy-scipy.integrate._ivp.bdf]
ignore_errors = True
[mypy-scipy.interpolate._bsplines]
ignore_errors = True
[mypy-scipy.interpolate._fitpack_impl]
ignore_errors = True
[mypy-scipy.interpolate._interpolate]
ignore_errors = True
[mypy-scipy.interpolate._ndgriddata]
ignore_errors = True
[mypy-scipy.interpolate._rbf]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.tests.test_lsmr]
ignore_errors = True
[mypy-scipy.linalg.tests.test_blas]
ignore_errors = True
[mypy-scipy.linalg.tests.test_cython_lapack]
ignore_errors = True
[mypy-scipy.optimize._remove_redundancy]
ignore_errors = True
[mypy-scipy.sparse.linalg._dsolve.tests.test_linsolve]
ignore_errors = True
[mypy-scipy.sparse.linalg._eigen.lobpcg.tests.test_lobpcg]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.tests.demo_lgmres]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.tests.test_lsqr]
ignore_errors = True
[mypy-scipy.sparse.linalg.tests.test_matfuncs]
ignore_errors = True
[mypy-scipy.io.tests.test_fortran]
ignore_errors = True
[mypy-scipy.sparse.linalg._eigen.arpack.arpack]
ignore_errors = True
[mypy-scipy.sparse.linalg._matfuncs]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve.iterative]
ignore_errors = True
[mypy-scipy.sparse.linalg._isolve._gcrotmk]
ignore_errors = True
[mypy-scipy.special._basic]
ignore_errors = True
[mypy-scipy.linalg._matfuncs_sqrtm]
ignore_errors = True
[mypy-scipy.linalg.blas]
ignore_errors = True
[mypy-scipy.sparse._lil]
ignore_errors = True
[mypy-scipy.ndimage.tests.test_c_api]
ignore_errors = True
[mypy-scipy._lib.tests.test_ccallback]
ignore_errors = True
[mypy-scipy.ndimage._filters]
ignore_errors = True
[mypy-scipy.ndimage._fourier]
ignore_errors = True
[mypy-scipy.ndimage._interpolation]
ignore_errors = True
[mypy-scipy.ndimage._measurements]
ignore_errors = True
[mypy-scipy.ndimage._morphology]
ignore_errors = True
[mypy-scipy.odr._odrpack]
ignore_errors = True
[mypy-scipy.optimize.tests.test_cython_optimize]
ignore_errors = True
#
# Vendored code
#
[mypy-scipy._lib._uarray.*]
ignore_errors = True
[mypy-scipy._lib.array_api_compat.*]
ignore_errors = True
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quietbirds/scipy.git
git@gitee.com:quietbirds/scipy.git
quietbirds
scipy
scipy
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385