Ignore linting the .build/ai directory#314
Draft
aluqmanj-ni wants to merge 1 commit into
Draft
Conversation
Contributor
|
Thank you for contributing! 👋 |
mshafer-NI
reviewed
Jul 10, 2026
| # We don't need to document every Sphinx config | ||
| docs/conf.py:D1 | ||
| # We don't need to document AI scripts | ||
| .build/ai/**:D1 |
Collaborator
There was a problem hiding this comment.
I'm not sure we want to do this. If it gets checked into source, it should be documented.
Collaborator
There was a problem hiding this comment.
Does nps honor .gitignore? is this "AI" stuff typically in .gitignore?
Author
There was a problem hiding this comment.
is this "AI" stuff typically in .gitignore?
Yes, the .build dir is in .gitignore
I've created another PR to update our skills to create AI scripts in <repo-root>/.build/ai directory. If that change is approved, this will not be required.
Collaborator
There was a problem hiding this comment.
If nps doesn't honor .gitignore, updating it to do so would benefit human developers too.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Justification
Copilot creates ad-hoc scripts in the project's
.build/aidirectory. This is causing linters (ni-python-styleguide, flake8) to flag issues in these scripts when run in the project even though we aren't checking in that code.Implementation
Ignore linting the
.build/aidirectory