Skip to content

Conversation

@abdulfatir
Copy link
Contributor

Issue #, if available:

Description of changes: The repo is classified as a Jupyter Notebook repo. This PR attempts to fix this by counting notebooks as python files instead of a separate thing.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@abdulfatir abdulfatir requested a review from Copilot October 29, 2025 08:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the .gitattributes file to correctly configure how Jupyter notebook files are classified by GitHub's Linguist. The change ensures that .ipynb files are properly recognized as Python files rather than documentation.

Key changes:

  • Fixed the .gitattributes pattern to correctly match all Jupyter notebook files with the wildcard * prefix
  • Changed from linguist-documentation to linguist-language=Python for more accurate language classification

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@abdulfatir abdulfatir merged commit fbe2ae4 into amazon-science:main Oct 29, 2025
12 checks passed
@abdulfatir abdulfatir deleted the nb-as-py branch October 29, 2025 08:12
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.

1 participant