Skip to content

Commit

Permalink
Windows (#11)
Browse files Browse the repository at this point in the history
disabled windows linting, fixed filepath in test that windows had problem with
  • Loading branch information
wolearyc authored Aug 30, 2024
1 parent 56c7c69 commit 6c911ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/tests/test_poscar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6c911ac

Please sign in to comment.