Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The development tools should be aligned between Flake.nix and pre-commit #421

Open
hillairet opened this issue Nov 8, 2024 · 1 comment
Assignees

Comments

@hillairet
Copy link
Member

Right now the local setup can be in an annoying situation where the versions of a tool like Black differ between the Nix environment and pre-commit.

The version is pinned in pre-commit (and not to the latest one):

rev: 23.9.1

But it's not pinned in Nix therefore it can (and currently is) different:

scaf/flake.nix

Line 22 in 78bf22d

pkgs.python3.pkgs.black

Ideally, there would be some consistency check or simply the version in Nix should be pinned if possible.

@hillairet
Copy link
Member Author

Assigning to you @sedatbasar for visibility.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants