[build-system] requires = ["setuptools>=42.0", "wheel", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] [tool.pytest.ini_options] addopts = "--cov=bayesflow" testpaths = [ "tests" ] [tool.mypy] mypy_path = "bayesflow" check_untyped_defs = true disallow_any_generics = true ignore_missing_imports = true no_implicit_optional = true show_error_codes = true strict_equality = true warn_redundant_casts = true warn_return_any = true warn_unreachable = true warn_unused_configs = true no_implicit_reexport = true [tool.black] line-length = 120 target-version = ["py310", "py311"] [tool.isort] profile = "black" line_length = 120 multi_line_output = 3