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()