https://github.com/GPflow/GPflow
Revision 12243a6a2a325f823704be7c72c83e222dd3b53b authored by st-- on 02 June 2020, 12:16:24 UTC, committed by GitHub on 02 June 2020, 12:16:24 UTC
Doc improvement: Fixes some typos in the Scipy docstring and adds a note on scipy minimize()'s callback argument vs GPflow Scipy().minimize()'s step_callback. Cleans up types in the module. 

Backwards-incompatible change: the `step_callback` that can be passes to the Scipy.minimize() method is changed to take its arguments by position, not name; in line with the StepCallback type signature (and in line with Python's typing.Callable documentation which suggests that callbacks should take arguments preferentially by position, not name).
1 parent 89af61e
Raw File
Tip revision: 12243a6a2a325f823704be7c72c83e222dd3b53b authored by st-- on 02 June 2020, 12:16:24 UTC
clean up Scipy types & code (#1454)
Tip revision: 12243a6
mypy.ini
[mypy]
ignore_missing_imports = True

; the following modules are not passing mypy, so we're skipping them until they've been fixed up.
; see github issue https://github.com/GPflow/GPflow/issues/1368 for more information. Note that some
; modules that haven't had types added are passing anyway so may not appear below.
;
; remove modules from this skip list when types have been added
[mypy-gpflow.conditionals.*,gpflow.config.*,gpflow.covariances.*,gpflow.expectations.*]
ignore_errors = True

[mypy-gpflow.kernels.*,gpflow.models.*,gpflow.monitor.*,gpflow.optimizers.natgrad,gpflow.optimizers.mcmc,gpflow.utilities.*]
ignore_errors = True

[mypy-gpflow.mean_functions]
ignore_errors = True

[mypy-tests.*]
ignore_errors = True
back to top