Skip to content

Commit 6f001d3

Browse files
committed
Update pyproject.toml
1 parent fb91177 commit 6f001d3

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ additional-compiled-static-assets = [
99
"locales/"
1010
]
1111

12+
filterwarnings = [
13+
"error",
14+
'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning',
15+
'ignore:The frontend\.OptionParser class will be replaced:DeprecationWarning',
16+
'ignore:The frontend\.Option class will be removed:DeprecationWarning',
17+
'ignore:nodes\.Node\.traverse\(\) is obsoleted by Node\.findall\(\):PendingDeprecationWarning',
18+
# jupyter-client throws this
19+
'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning',
20+
'ignore:datetime\.datetime\.utcnow\(\) is deprecated:DeprecationWarning',
21+
# Sphinx triggers this
22+
'''ignore:'imghdr' is deprecated and slated for removal in Python 3\.13:DeprecationWarning''',
23+
'''ignore:'sphinx.util.import_object' is deprecated.:PendingDeprecationWarning''',
24+
'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning'
25+
]
26+
27+
1228
[project]
1329
name = "sphinx-book-theme"
1430
description = "A clean book theme for scientific explanations and documentation with Sphinx"
@@ -22,9 +38,7 @@ dependencies = [
2238
]
2339

2440
license = { file = "LICENSE" }
25-
maintainers = [
26-
{ name = "Jan Genoe", email = "jangenoe@gmail.com" },
27-
]
41+
maintainers = [{ name = "Jan Genoe", email = "jangenoe@gmail.com" },]
2842

2943
classifiers = [
3044
"Development Status :: 4 - Beta",

0 commit comments

Comments
 (0)