From 18f770cacba40bca3e590a80cea5ebb78bca6f22 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Mon, 11 Mar 2024 15:56:57 +0100 Subject: [PATCH] fix release wf name --- .github/workflows/release.yml | 4 ++-- .pre-commit-config.yaml | 4 ++-- chgnet/model/dynamics.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4608720..d8ee449f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Tests +name: Release on: push: @@ -12,7 +12,7 @@ on: type: choice options: [release, test-release] default: test-release - description: Run tests, release to PyPI, or release to TestPyPI. + description: Release to PyPI or TestPyPI. jobs: tests: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60fa5e18..72275eec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.0 + rev: v0.3.2 hooks: - id: ruff args: [--fix] @@ -46,7 +46,7 @@ repos: - svelte - repo: https://github.com/pre-commit/mirrors-eslint - rev: v9.0.0-beta.1 + rev: v9.0.0-beta.2 hooks: - id: eslint types: [file] diff --git a/chgnet/model/dynamics.py b/chgnet/model/dynamics.py index 2eaf65d7..d964a7a7 100644 --- a/chgnet/model/dynamics.py +++ b/chgnet/model/dynamics.py @@ -52,7 +52,7 @@ class CHGNetCalculator(Calculator): """CHGNet Calculator for ASE applications.""" - implemented_properties = ("energy", "forces", "stress", "magmoms") # type: ignore + implemented_properties = ("energy", "forces", "stress", "magmoms") def __init__( self,