forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (36 loc) · 1.16 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
# 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 = ["py311"]
[tool.isort]
extend_skip = ["target"]
known_first_party = ["materialize"]
profile = "black"
py_version = "311"
[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"]
stubPath = "./misc/python/stubs"
reportMissingImports = "warning"
reportMissingModuleSource = "warning"
reportMissingTypeStubs = "warning"
reportOptionalMemberAccess = "warning"
reportUnboundVariable = "warning"
reportPrivateImportUsage = "warning"
reportTypedDictNotRequiredAccess = "none"
reportOptionalSubscript = "warning"
typeCheckingMode = "basic"
ignore = [
# Rust build artifacts are not subject to our static analysis.
"target/",
]