Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.4
rev: v0.12.2
hooks:
- id: ruff
args: [--fix]
Expand All @@ -30,7 +30,7 @@ repos:
args: [--check-filenames]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.16.1
hooks:
- id: mypy
exclude: (tests|examples)/
Expand Down
3 changes: 0 additions & 3 deletions examples/matbench_example/prepare_matbench_datasets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
from glob import glob
from typing import Literal

from matbench.data_ops import load
from pymatgen.analysis.prototypes import get_protostructure_label_from_spglib
Expand Down Expand Up @@ -31,8 +30,6 @@
if SMOKE_TEST:
matbench_datasets = matbench_datasets[2:3]

MatbenchDatasets = Literal[*matbench_datasets]

os.makedirs(f"{current_dir}/datasets", exist_ok=True)
for dataset in matbench_datasets:
dataset_path = f"{current_dir}/datasets/{dataset}.json.bz2"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ ignore = [
"E731", # Do not assign a lambda expression, use a def
"ISC001",
"PD901", # pandas-df-variable-name
"PLC0415",
"PLR", # pylint refactor
"PT006", # pytest-parametrize-names-wrong-type
]
Expand Down
Loading