forked from quantumlib/Cirq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
21 lines (20 loc) · 1.04 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tool.black]
line-length = 100
target_version = ['py37', 'py38', 'py39']
skip-string-normalization = true
skip-magic-trailing-comma = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore:Matplotlib is currently using agg:UserWarning",
# TODO(#5967) - remove after upgrade to NumPy 1.24
# Enforce NumPy 1.20 deprecations.
# Ref: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
"error:`np.bool` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.int` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.float` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.complex` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.object` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.str` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.long` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
"error:`np.unicode` is a deprecated alias:DeprecationWarning:(cirq|<string>)",
]