From 8f6d1c8809f1c29a62bca65cff2ff527121bdb6c Mon Sep 17 00:00:00 2001 From: Veronika Juraskova Date: Fri, 27 Oct 2023 12:07:31 +0100 Subject: [PATCH] Update pre-commit hooks --- .pre-commit-config.yaml | 1 + create_conda_environment.sh | 1 - mlptrain/training/tests/test_selection.py | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1e8b208..f7adfd92 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,7 @@ repos: - id: check-shebang-scripts-are-executable - id: check-added-large-files args: ['--maxkb=500', '--enforce-all'] + exclude: mlptrain/sampling/tests/data.zip - id: check-yaml - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/create_conda_environment.sh b/create_conda_environment.sh index 7dae1cab..bfc13978 100644 --- a/create_conda_environment.sh +++ b/create_conda_environment.sh @@ -1,4 +1,3 @@ -#!/bin/bash # NOTE: This script should not be called on its own, # but should be sourced from other install scripts such as install_ace.sh set -euo pipefail diff --git a/mlptrain/training/tests/test_selection.py b/mlptrain/training/tests/test_selection.py index f764abc3..f9d20bef 100644 --- a/mlptrain/training/tests/test_selection.py +++ b/mlptrain/training/tests/test_selection.py @@ -32,7 +32,6 @@ def _distorted_methane(): def test_selection_on_structures(): - import dscribe configs = mlt.ConfigurationSet()