Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit autoupdate #332

Merged
merged 6 commits into from
May 6, 2024
Merged

pre-commit autoupdate #332

merged 6 commits into from
May 6, 2024

Conversation

pre-commit-ci bot and others added 6 commits May 6, 2024 20:12
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](astral-sh/ruff-pre-commit@v0.3.5...v0.4.3)
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0)
if self.half_kpts and os.path.isfile(os.path.join(directory, "KPOINTS")):
            kpts = Kpoints.from_file(os.path.join(directory, "KPOINTS"))
            kpts.kpts = np.maximum(np.array(kpts.kpts) / 2, 1)
>           kpts.kpts = kpts.kpts.astype(int).tolist()
@janosh janosh merged commit 8832873 into master May 6, 2024
7 of 8 checks passed
@janosh janosh deleted the pre-commit-ci-update-config branch May 6, 2024 20:30
@janosh janosh added linting Linting docs Documentation, examples, user guides labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation, examples, user guides linting Linting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant