Skip to content

Conversation

@bdice
Copy link
Contributor

@bdice bdice commented Jan 27, 2026

This adds a .pre-commit-config.yaml to get this repo up to speed with NVIDIA copyright requirements and the bare minimum of code style enforcement.

As a follow-up we can enable CI checks to enforce these.

quiet-level = 3

[tool.ruff]
line-length = 120
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am fine with any value here and don't want this to become a point for bikeshedding this PR. I chose 120 for now to make the diff as small as possible (the fewer changes, the easier to review). If anyone has a preference on what this value should be, I recommend we defer that discussion to a follow-up PR.

import pyarrow.parquet as pq

from .common_fixtures import setup_and_teardown, get_all_parquet_relative_file_paths
from .common_fixtures import get_all_parquet_relative_file_paths
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please verify that the tests are passing (the CI for this has not yet been added. Related issue: #173)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would strongly support solving #173 before we merge this.

@bdice
Copy link
Contributor Author

bdice commented Jan 29, 2026

I'm going to cut the scope of this so we can start adding basic CI checks. I'll keep this to only whitespace/end-of-file fixes and copyright fixes for now.

bdice added 3 commits January 29, 2026 05:56
- Resolved merge conflicts between shellcheck fixes and upstream SCRIPT_DIR changes
- Fixed SC2086 (quote variables) in new slurm scripts
- Fixed SC2155 (declare and assign separately)
- Fixed SC2129 (group redirects)
- Added missing copyright headers
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.

2 participants