Skip to content

Commit 3e97272

Browse files
committed
bump dev dependencies, "fix" noqa strip line
1 parent d237c65 commit 3e97272

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

docs/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Mock(MagicMock):
3030
def __getattr__(cls, name):
3131
return MagicMock()
3232

33+
3334
autodoc_mock_imports = ["ax", "balsam", "gpcam", "IPython", "matplotlib", "pandas", "scipy", "surmise"]
3435

3536
MOCK_MODULES = [
@@ -49,9 +50,11 @@ def __getattr__(cls, name):
4950

5051
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
5152

53+
5254
class AxParameterWarning(Warning): # Ensure it's a real warning subclass
5355
pass
5456

57+
5558
# Fix only `AxParameterWarning` while keeping `ax` mocked
5659
sys.modules["ax.exceptions.core"] = MagicMock()
5760
sys.modules["ax.exceptions.core"].AxParameterWarning = AxParameterWarning
@@ -225,9 +228,11 @@ class AxParameterWarning(Warning): # Ensure it's a real warning subclass
225228
html_static_path = ["_static"]
226229
# html_static_path = []
227230

231+
228232
def remove_noqa(app, what, name, obj, options, lines):
229233
for i, line in enumerate(lines):
230-
lines[i] = line.replace("# noqa", "").strip()
234+
lines[i] = line.replace("# noqa", "")
235+
231236

232237
def setup(app):
233238
app.add_css_file("my_theme.css")

pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,30 @@ dev = ["dev"]
5858

5959
[tool.pixi.feature.dev.dependencies]
6060
mpi = ">=1.0.1,<2"
61-
mpich = ">=4.2.3,<5"
62-
mpi4py = ">=4.0.1,<5"
63-
flake8 = ">=7.1.1,<8"
64-
coverage = ">=7.6.10,<8"
61+
mpich = ">=4.3.0,<5"
62+
mpi4py = ">=4.0.3,<5"
63+
flake8 = ">=7.1.2,<8"
64+
coverage = ">=7.6.12,<8"
6565
pytest = ">=8.3.4,<9"
6666
pytest-cov = ">=6.0.0,<7"
6767
pytest-timeout = ">=2.3.1,<3"
6868
mock = ">=5.1.0,<6"
6969
python-dateutil = ">=2.9.0.post0,<3"
70-
anyio = ">=4.7.0,<5"
71-
matplotlib = ">=3.9.0,<4"
70+
anyio = ">=4.8.0,<5"
71+
matplotlib = ">=3.10.0,<4"
7272
mpmath = ">=1.3.0,<2"
7373
rich = ">=13.9.4,<14"
74-
sphinx = ">=8.1.3,<9"
74+
sphinx = ">=8.2.1,<9"
7575
sphinxcontrib-bibtex = ">=2.6.3,<3"
7676
sphinx-design = ">=0.6.1,<0.7"
7777
sphinx_rtd_theme = ">=3.0.1,<4"
7878
sphinx-copybutton = ">=0.5.2,<0.6"
79-
pre-commit = ">=4.0.1,<5"
80-
nlopt = ">=2.9.0,<3"
81-
scipy = ">=1.14.1,<2"
82-
enchant = ">=2.8.2,<3" # required for sphinxcontrib-spelling
83-
ax-platform = ">=0.5.0"
79+
pre-commit = ">=4.1.0,<5"
80+
nlopt = ">=2.10.0,<3"
81+
scipy = ">=1.15.2,<2"
82+
ax-platform = ">=0.5.0,<0.6"
83+
sphinxcontrib-spelling = ">=8.0.1,<9"
84+
autodoc-pydantic = ">=2.1.0,<3"
8485

8586
[tool.pixi.dependencies]
8687
python = ">=3.10,<3.14"
@@ -131,4 +132,4 @@ noy = "noy"
131132
extend-exclude = ["*.bib", "*.xml", "docs/nitpicky"]
132133

133134
[dependency-groups]
134-
dev = ["sphinxcontrib-spelling==8.0.0", "autodoc-pydantic>=2.2.0,<3"]
135+
dev = ["pyenchant", "enchant>=0.0.1,<0.0.2"]

0 commit comments

Comments
 (0)