Skip to content

Commit 8e613f3

Browse files
[pre-commit.ci] pre-commit autoupdate (#701)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.10 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.10...v0.12.2) - [github.com/sirosen/check-jsonschema: 0.33.0 → 0.33.2](python-jsonschema/check-jsonschema@0.33.0...0.33.2) * Get rid of deprecation warnings --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
1 parent 03c29dc commit 8e613f3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
exclude: miscellaneous/structures
1414

1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.11.10
16+
rev: v0.12.7
1717
hooks:
1818
- id: ruff-format
1919
exclude: ^docs/.*
@@ -27,7 +27,7 @@ repos:
2727
args: [--preserve-quotes]
2828

2929
- repo: https://github.com/sirosen/check-jsonschema
30-
rev: 0.33.0
30+
rev: 0.33.2
3131
hooks:
3232
- id: check-github-workflows
3333

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ filterwarnings = [
2323
'ignore::DeprecationWarning:ase.atoms',
2424
# This popped up in spglib 2.5. Since we still try to support spglib v1,
2525
# it's not clear if we can get rid of it.
26-
"ignore:dict interface.*is deprecated.Use attribute interface:DeprecationWarning:spglib",
26+
"ignore:dict interface is deprecated. Use attribute interface instead:DeprecationWarning:spglib|aiidalab_widgets_base",
2727
# TODO: This comes from a transitive dependency of ipyoptimade
2828
# Remove this when this issue is addressed:
2929
# https://github.com/CasperWA/ipywidgets-extended/issues/85
@@ -46,7 +46,7 @@ target-version = "py39"
4646

4747

4848
[tool.ruff.lint]
49-
ignore = ["E501", "E402", "ARG002", "TRY003", "RUF001", "RUF012"]
49+
ignore = ["E501", "E402", "ARG002", "TRY003", "RUF001", "RUF012", "PLC0415"]
5050
select = [
5151
"A", # flake8-builtins
5252
"ARG", # flake8-unused-arguments

0 commit comments

Comments
 (0)