forked from rstudio/vetiver-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (74 loc) · 2.66 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[build-system]
requires = [
"setuptools>=59",
"setuptools_scm[toml]>=6.4",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
testpaths = ["vetiver"]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE"
markers = [
"rsc_test: tests for connect",
"docker: tests for docker deployments"
]
[tool.setuptools_scm]
fallback_version = "999"
version_scheme = 'post-release'
########## Tool - Pyright ##########
[tool.pyright]
# Paths of directories or files that should be included. If no paths
# are specified, pyright defaults to the directory that contains the
# config file. Paths may contain wildcard characters ** (a directory or
# multiple levels of directories), * (a sequence of zero or more
# characters), or ? (a single character). If no include paths are
# specified, the root path for the workspace is assumed.
include = [
"vetiver/"
]
# Paths of directories or files whose diagnostic output (errors and
# warnings) should be suppressed even if they are an included file or
# within the transitive closure of an included file. Paths may contain
# wildcard characters ** (a directory or multiple levels of
# directories), * (a sequence of zero or more characters), or ? (a
# single character).
ignore = [
#"vetiver/__init__.py",
#"vetiver/attach_pkgs.py",
"vetiver/helpers.py",
"vetiver/meta.py",
"vetiver/mock.py",
"vetiver/model_card.py",
"vetiver/monitor.py",
"vetiver/pin_read_write.py",
"vetiver/prototype.py",
"vetiver/rsconnect.py",
"vetiver/server.py",
"vetiver/types.py",
"vetiver/utils.py",
"vetiver/vetiver_model.py",
"vetiver/write_docker.py",
"vetiver/write_fastapi.py",
"vetiver/handlers/",
"vetiver/data/",
"vetiver/tests"
]
# Set of identifiers that should be assumed to contain a constant
# value wherever used within this program. For example, { "DEBUG": true
# } indicates that pyright should assume that the identifier DEBUG will
# always be equal to True. If this identifier is used within a
# conditional expression (such as if not DEBUG:) pyright will use the
# indicated value to determine whether the guarded block is reachable
# or not. Member expressions that reference one of these constants
# (e.g. my_module.DEBUG) are also supported.
defineConstant = { DEBUG = true }
# typeCheckingMode = "strict"
useLibraryCodeForTypes = true
reportUnnecessaryTypeIgnoreComment = true
# Specifies a list of execution environments (see below). Execution
# environments are searched from start to finish by comparing the path
# of a source file with the root path specified in the execution
# environment.
executionEnvironments = []
stubPath = ""