Skip to content

Commit b78dc2c

Browse files
Merge pull request #463 from robbievanleeuwen/chore/upgrade-dev
Update and pin dev dependencies
2 parents 0c89f80 + 1ef0abe commit b78dc2c

File tree

7 files changed

+233
-221
lines changed

7 files changed

+233
-221
lines changed

.flake8

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ docstring-convention = google
66
per-file-ignores = tests/*:S101,__init__.py:F401,post.py:C901
77
rst-roles = class,const,func,meth,mod,ref
88
rst-directives = deprecated
9-
pytest-fixture-no-parentheses = True
10-
pytest-mark-no-parentheses = True

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ repos:
7070
hooks:
7171
- id: nbstripout
7272
- repo: https://github.com/nbQA-dev/nbQA
73-
rev: 1.8.4
73+
rev: 1.9.0
7474
hooks:
7575
- id: nbqa-black
76-
additional_dependencies: [black==24.2.0]
76+
additional_dependencies: [black==24.8.0]
7777
- id: nbqa-pyupgrade
78-
additional_dependencies: [pyupgrade==3.15.1]
78+
additional_dependencies: [pyupgrade==3.17.0]
7979
args: ["--py39-plus"]
8080
- id: nbqa-isort
8181
additional_dependencies: [isort==5.13.2]

docs/requirements.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
furo==2024.01.29
2-
ipykernel==6.29.3
1+
furo==2024.8.6
2+
ipykernel==6.29.5
33
ipython==8.18.1
4-
ipywidgets==8.1.2
5-
nbconvert==7.16.2
6-
nbsphinx==0.9.3
7-
sphinx==7.2.6
8-
sphinx-click==5.1.0
4+
nbconvert==7.16.4
5+
nbsphinx==0.9.5
6+
sphinx==8.0.2
7+
sphinx-click==6.0.0
98
sphinx-copybutton==0.5.2
109
sphinxext-opengraph==0.9.1

noxfile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ def docs_build(session: Session) -> None:
231231
"furo",
232232
"ipykernel",
233233
"ipython",
234-
"ipywidgets",
235234
"nbconvert",
236235
"nbsphinx",
237236
"sphinx",
@@ -268,7 +267,6 @@ def docs(session: Session) -> None:
268267
"furo",
269268
"ipykernel",
270269
"ipython",
271-
"ipywidgets",
272270
"nbconvert",
273271
"nbsphinx",
274272
"sphinx",

poetry.lock

Lines changed: 194 additions & 173 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ scipy = "^1.12.0"
5454
matplotlib = "^3.8.3"
5555
shapely = "^2.0.3"
5656
cytriangle = "^1.0.1"
57-
rich = "^13.7.1"
57+
rich = { extras = ["jupyter"], version = "^13.7.1"}
5858
click = "^8.1.7"
5959
more-itertools = "^10.2.0"
6060
numba = { version = "^0.59.0", optional = true }
@@ -67,36 +67,34 @@ mkl = { version = "==2023.2.0", optional = true }
6767
tbb = { version = "==2021.10.0", optional = true }
6868

6969
[tool.poetry.group.dev.dependencies]
70-
black = "^24.2.0"
71-
coverage = { extras = ["toml"], version = "^7.4.3" }
72-
darglint = "^1.8.1"
73-
flake8 = "^7.0.0"
74-
flake8-bugbear = "^24.2.6"
75-
flake8-docstrings = "^1.7.0"
76-
flake8-pytest-style = "^1.7.2"
77-
flake8-rst-docstrings = "^0.3.0"
78-
furo = "^2024.01.29"
79-
ipykernel = "^6.29.3"
80-
ipython = "^8.18.1" # 8.19 and above drops 3.9 support
81-
ipywidgets = "^8.1.2"
82-
isort = "^5.13.2"
83-
mypy = "^1.9.0"
84-
nbconvert = "^7.16.2"
85-
nbsphinx = "^0.9.3"
86-
notebook = "^7.1.1"
87-
pep8-naming = "^0.13.3"
88-
pre-commit = "^3.6.2"
89-
pre-commit-hooks = "^4.5.0"
90-
Pygments = "^2.17.2"
91-
pytest = "^8.0.2"
92-
pytest-benchmark = { extras = ["histogram"], version = "^4.0.0" }
93-
pytest-check = "^2.3.1"
94-
pyupgrade = "^3.15.1"
95-
sphinx = "^7.2.6"
96-
sphinx-autobuild = "^2024.2.4"
97-
sphinx-click = "^5.1.0"
98-
sphinx-copybutton = "^0.5.2"
99-
sphinxext-opengraph = "^0.9.1"
70+
black = "==24.8.0"
71+
coverage = { extras = ["toml"], version = "==7.6.1" }
72+
darglint = "==1.8.1"
73+
flake8 = "==7.1.1"
74+
flake8-bugbear = "==24.8.19"
75+
flake8-docstrings = "==1.7.0"
76+
flake8-pytest-style = "==2.0.0"
77+
flake8-rst-docstrings = "==0.3.0"
78+
furo = "==2024.8.6"
79+
ipykernel = "==6.29.5"
80+
ipython = "==8.18.1" # 8.19 and above drops 3.9 support
81+
isort = "==5.13.2"
82+
mypy = "==1.11.2"
83+
nbconvert = "==7.16.4"
84+
nbsphinx = "==0.9.5"
85+
notebook = "==7.2.2"
86+
pep8-naming = "==0.14.1"
87+
pre-commit = "==3.8.0"
88+
pre-commit-hooks = "==4.6.0"
89+
pytest = "==8.3.3"
90+
pytest-benchmark = { extras = ["histogram"], version = "==4.0.0" }
91+
pytest-check = "==2.4.1"
92+
pyupgrade = "==3.17.0"
93+
sphinx = "==7.4.7"
94+
sphinx-autobuild = "==2024.10.3"
95+
sphinx-click = "==6.0.0"
96+
sphinx-copybutton = "==0.5.2"
97+
sphinxext-opengraph = "==0.9.1"
10098

10199
[tool.poetry.extras]
102100
dxf = ["cad-to-shapely"]

src/sectionproperties/post/post.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,7 @@ def plotting_context(
324324
render: bool = True,
325325
axis_index: int | tuple[int, int] | None = None,
326326
**kwargs: Any,
327-
) -> Generator[
328-
tuple[matplotlib.figure.Figure, matplotlib.axes.Axes | Any | None], None, None
329-
]:
327+
) -> Generator[tuple[matplotlib.figure.Figure, matplotlib.axes.Axes | Any | None]]:
330328
"""Executes code required to set up a matplotlib figure.
331329
332330
Args:

0 commit comments

Comments
 (0)