Skip to content

Commit

Permalink
pyproject.toml down-pin pymatgen>=2023.10.11
Browse files Browse the repository at this point in the history
drop black for ruff-format
codespell check filenames
  • Loading branch information
janosh committed Oct 30, 2023
1 parent 7c8139d commit 1f2197c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.1
rev: v0.1.3
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: 23.10.0
hooks:
- id: black-jupyter
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand All @@ -31,6 +27,7 @@ repos:
hooks:
- id: codespell
stages: [commit, commit-msg]
args: [--check-filenames]

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = [
"cython>=0.29.26",
"numpy>=1.21.6",
"nvidia-ml-py3>=7.352.0",
"pymatgen",
"pymatgen>=2023.10.11",
"torch>=1.11.0",
]
classifiers = [
Expand Down Expand Up @@ -49,7 +49,6 @@ find = { include = ["chgnet*"], exclude = ["tests", "tests*"] }

[tool.ruff]
target-version = "py39"
line-length = 95
include = ["**/pyproject.toml", "*.ipynb", "*.py", "*.pyi"]
select = [
"B", # flake8-bugbear
Expand Down

0 comments on commit 1f2197c

Please sign in to comment.