From 6c911ac6ba50452cc4b9e1e7c17af1ffc41acd89 Mon Sep 17 00:00:00 2001 From: willis Date: Fri, 30 Aug 2024 13:18:48 -0700 Subject: [PATCH] Windows (#11) disabled windows linting, fixed filepath in test that windows had problem with --- .github/workflows/python-package.yml | 1 + test/tests/test_poscar.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7a1f285..6c86d51 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,6 +29,7 @@ jobs: pip install uv uv pip install ${{ matrix.uv-arg }} --system -r requirements.txt - name: Analyzing the code with pylint + if: ${{ matrix.os != 'windows-latest' }} # Windows throws strange linting errors run: | pylint $(git ls-files '*.py') - name: Analyzing the code with flake8 diff --git a/test/tests/test_poscar.py b/test/tests/test_poscar.py index 3c4565e..b48e05b 100644 --- a/test/tests/test_poscar.py +++ b/test/tests/test_poscar.py @@ -104,7 +104,7 @@ def test_write_read_poscar( np.ones((3, 3)), [1, 1, 1, 3, 4, 4, 4, 30, 30], np.zeros((9, 3)), - "test/data/TiO2", + "test/data/TiO2/POSCAR", FileExistsError, "File exists", False,