-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Trying vanilla flakes * Trying flake-parts * impure test multiple Python versions * Test `make examples` in nix flake check * test against all supported python versions in nix flake check * run pure tests on different Python versions in parallel * Show how to drop into other Python versions Also, fix devShell in py39 and py311 * Provide a Docker-based development environment for people not using Nix Also, remove `examples.md` as prompt is already tested in `README.md`. * Nicer flake names * Remove tooling installed by pre-commit-hooks-nix flake from poetry dependencies * update dev dependencies * add macOS testing to CI * gardening * rename package `appEnv-` to `tesh-`
- Loading branch information
Showing
18 changed files
with
718 additions
and
768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.git | ||
.direnv | ||
result/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
# Use shell.nix to build the development environment | ||
if [ -x "$(command -v lorri)" ]; then | ||
eval "$(lorri direnv)" | ||
else | ||
use nix | ||
fi | ||
# Use flake.nix to build the development environment | ||
use flake |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,7 @@ junit.xml | |
|
||
# pyc | ||
__pycache__ | ||
|
||
# nix stuff | ||
result | ||
.pre-commit-config.yaml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
rules: | ||
line-length: | ||
max: 88 | ||
|
||
ignore: | ||
- .pre-commit-config.impure.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM ubuntu:23.10 | ||
RUN apt-get update \ | ||
&& apt-get install nano git nix -y \ | ||
&& echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf \ | ||
&& echo "max-jobs = 4" >> /etc/nix/nix.conf | ||
COPY ./. /tesh | ||
RUN nix develop /tesh -c true | ||
WORKDIR /tesh | ||
CMD nix develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.