forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (44 loc) · 1.26 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Use of this software is governed by the Business Source License
# included in the LICENSE file at the root of this repository.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0.
[tool.black]
target_version = ["py38"]
[tool.isort]
extend_skip = ["target"]
known_first_party = ["materialize"]
profile = "black"
py_version = "38"
[tool.mypy]
# Basic mypy configuration.
error_summary = false
exclude = "/venv/"
explicit_package_bases = true
namespace_packages = true
pretty = true
python_version = "3.9"
# Lint rules.
allow_redefinition = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
strict_equality = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
[tool.pyright]
# Allow pyright to find imports for python files
# in random folders, e.g. mzcompose.py files
extraPaths = ["misc/python"]
venvPath = "./misc/python"
venv = "venv"
exclude = ["./misc/python/venv"]