Skip to content

Conversation

@avnik
Copy link
Contributor

@avnik avnik commented Dec 31, 2023

Prototyping solution for #22

I not satisfied it much, because injecting into devshell is very hacky (or doesn't work with direnv, and require explicit nix develop at least once).
Also still doubt, if we need it or not.

Open list of questions:

  • May be worth to move deadnix from treefmt to pre-commit?
  • May be worth run full nix flake check instead of "just treefmt"

@avnik avnik requested a review from aciceri December 31, 2023 14:50
@avnik avnik force-pushed the avnik/precommit-hooks branch from b438ba1 to 6be1548 Compare January 24, 2024 18:42
@brainrake brainrake added this to the 2. Processing modules pt. 1 milestone Jan 30, 2024
@brainrake
Copy link
Contributor

Assigning to Milestone 2 as Milestone 1 was accepted without this.

@brainrake brainrake self-assigned this Jan 31, 2024
@brainrake brainrake assigned brainrake and unassigned brainrake Feb 15, 2024
@brainrake brainrake force-pushed the avnik/precommit-hooks branch from 6be1548 to dd93269 Compare February 15, 2024 18:08
@brainrake
Copy link
Contributor

brainrake commented Feb 15, 2024

I have rebased, reviewed and tested this. It did need nix develop to set up commit hooks, but they worked fine afterwards. LGTM

Copy link
Contributor

@brainrake brainrake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brainrake
Copy link
Contributor

i think nix flake check is too heavy for pre-commit.

@brainrake brainrake merged commit 7b02658 into master Feb 15, 2024
@brainrake brainrake deleted the avnik/precommit-hooks branch February 15, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants