Added pre-commit and CI - #5
Conversation
Greptile SummaryAdds pre-commit hooks and CI workflow to enforce code quality standards, along with automated linting fixes across 46 files. The changes introduce ruff for Python linting/formatting and markdownlint for documentation, then apply those tools to fix existing style issues including import ordering, modern type hints, trailing whitespace, and markdown formatting. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 5938a58 |
| @@ -0,0 +1,35 @@ | |||
| # Pre-commit hooks for NV-Generate-CTMR | |||
There was a problem hiding this comment.
Comment references NV-Generate-CTMR but the repository is nv-segment-ctmr
| # Pre-commit hooks for NV-Generate-CTMR | |
| # Pre-commit hooks for NV-Segment-CTMR |
| @@ -0,0 +1,26 @@ | |||
| # CI for NV-Generate-CTMR: lint and format checks via pre-commit | |||
There was a problem hiding this comment.
Comment references NV-Generate-CTMR but the repository is nv-segment-ctmr
| # CI for NV-Generate-CTMR: lint and format checks via pre-commit | |
| # CI for NV-Segment-CTMR: lint and format checks via pre-commit |
| @@ -0,0 +1,13 @@ | |||
| # Minimal config for tooling (pre-commit, ruff). NV-Generate-CTMR has no installable package. | |||
There was a problem hiding this comment.
Comment references NV-Generate-CTMR but the repository is nv-segment-ctmr
| # Minimal config for tooling (pre-commit, ruff). NV-Generate-CTMR has no installable package. | |
| # Minimal config for tooling (pre-commit, ruff). NV-Segment-CTMR has no installable package. |
| @@ -0,0 +1,7 @@ | |||
| # Markdownlint config for NV-Generate-CTMR | |||
There was a problem hiding this comment.
Comment references NV-Generate-CTMR but the repository is nv-segment-ctmr
| # Markdownlint config for NV-Generate-CTMR | |
| # Markdownlint config for NV-Segment-CTMR |
Added pre-commit script and fixing linting errors