-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
28 lines (27 loc) · 854 Bytes
/
pyproject.toml
File metadata and controls
28 lines (27 loc) · 854 Bytes
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
# (C) Crown Copyright 2024-2025, Met Office.
# The LICENSE.md file contains full licensing details.
# Configure black.
[tool.black]
line-length = 79
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| build
| dist
)/
)
'''
# Configure pytest.
[tool.pytest.ini_options]
filterwarnings = [
# Ignore deprecation warnings from webob, esmpy and pkg_resources:
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
"ignore:Implicit None on return values is deprecated:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
# Ignore user warnings from pybtex:
"ignore:pkg_resources is deprecated as an API:UserWarning",
]