Skip to content

Add support for Nushell - #609

Merged
asottile merged 1 commit into
pre-commit:mainfrom
Malix-Labs:feat/add-nushell
Sep 26, 2026
Merged

asottile merged 1 commit into
pre-commit:mainfrom
Malix-Labs:feat/add-nushell

Conversation

@Malix-Labs

@Malix-Labs Malix-Labs commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Adds file identification and interpreter recognition for Nushell (.nu files):

  • Maps 'nu' extension to {'text', 'nushell'} in identify/extensions.py.
  • Maps 'nu' and 'nushell' shebangs to {'nushell'} in identify/interpreters.py.

CLOSES: cachix/git-hooks.nix#739

@asottile

Copy link
Copy Markdown
Member

no need to add a test for simple extension additions

@asottile asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@asottile
asottile enabled auto-merge September 26, 2026 20:19
@asottile
asottile merged commit 116099f into pre-commit:main Sep 26, 2026
6 checks passed
@Malix-Labs
Malix-Labs deleted the feat/add-nushell branch September 27, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants