Skip to content

Commit

Permalink
Merge branch 'main' into cupy_expm
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Apr 22, 2024
2 parents b246086 + 8eed737 commit 73c11b2
Show file tree
Hide file tree
Showing 9 changed files with 2,698 additions and 730 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ ci:
autofix_prs: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
Expand All @@ -18,7 +18,7 @@ repos:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
- repo: https://github.com/hadialqattan/pycln
Expand Down
58 changes: 22 additions & 36 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
nixpkgs-python = {
url = "github:cachix/nixpkgs-python";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = {
Expand Down Expand Up @@ -31,15 +34,17 @@
in {
default = devenv.lib.mkShell {
inherit inputs pkgs;

modules = [
{
packages = with pkgs; [pre-commit];
packages = with pkgs; [pre-commit poethepoet stdenv.cc.cc.lib];

languages.python = {
enable = true;
poetry = {
enable = true;
install.enable = true;
install.groups = ["dev" "test"];
install.allExtras = true;
};
version = "3.11";
Expand Down
Loading

0 comments on commit 73c11b2

Please sign in to comment.