Skip to content

Commit 2961639

Browse files
Merge pull request #673 from zwicker-group/requirements
Add pydot to requirements and update ignore rules in linter configuration
2 parents 6aaef75 + e68df09 commit 2961639

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ h5py>=2.10
44
pandas>=2
55
Pillow>=7.0
66
py-modelrunner>=0.19
7+
pydot>=3
78
Sphinx>=4
89
sphinx-autodoc-annotation>=1.0
910
sphinx-gallery>=0.6

scripts/_templates/_pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ select = [
8282
"SIM", # flake8-simplify
8383
"PTH", # flake8-use-pathlib
8484
]
85-
ignore = ["B007", "B027", "B028", "SIM108", "ISC001", "PT006", "PT011", "RET504", "RET505", "RET506"]
85+
ignore = ["A005", "B007", "B027", "B028", "SIM108", "ISC001", "PT006", "PT011", "RET504", "RET505", "RET506"]
8686

8787
[tool.ruff.lint.isort]
8888
section-order = ["future", "standard-library", "third-party", "first-party", "self", "local-folder"]

scripts/create_requirements.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def line(self, relation: str = ">=") -> str:
158158
Requirement(name="sphinx-autodoc-annotation", version_min="1.0", docs_only=True),
159159
Requirement(name="sphinx-gallery", version_min="0.6", docs_only=True),
160160
Requirement(name="sphinx-rtd-theme", version_min="1", docs_only=True),
161+
Requirement(name="pydot", version_min="3", docs_only=True),
161162
Requirement(name="Pillow", version_min="7.0", docs_only=True),
162163
Requirement(name="utilitiez", version_min="0.3", docs_only=True, tests_only=True),
163164
# for tests only

0 commit comments

Comments
 (0)