Revision 85d20b6c7ed2c4f61e076fca78cce2f35f9894d7 authored by Jesper Nielsen on 07 October 2022, 09:39:13 UTC, committed by Jesper Nielsen on 07 October 2022, 15:38:53 UTC
1 parent ab74944
mypy_flags.py
# Copyright 2022 The GPflow Contributors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Code for printing flags for mypy, depending on library versions.
"""
from .type_flags import compute_mypy_flags
def print_mypy_flags() -> None:
print(compute_mypy_flags())
if __name__ == "__main__":
print_mypy_flags()
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...