Skip to content

Commit

Permalink
Merge pull request #302 from akaihola/fix-nixos-build
Browse files Browse the repository at this point in the history
NixOS build failed when `pytest-darker` called `pylint`
  • Loading branch information
akaihola authored Feb 21, 2022
2 parents 4ec53ac + de41d0f commit 818a36e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
run: |
nix-shell --pure --run '
python -m venv venv
venv/bin/pip install -e '.[isort,test]'
venv/bin/pytest
source venv/bin/activate
pip install -e '.[isort,test]'
pytest
' ./default.nix
build:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Added

Fixed
-----
- Fix NixOS builds when ``pytest-darker`` calls ``pylint``. Needed to activate
the virtualenv.


1.4.1_ - 2022-02-17
Expand Down

0 comments on commit 818a36e

Please sign in to comment.