Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] add CMake linting/formatting, update pre-commit hooks, re-arrange modules #295

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

jameslamb
Copy link
Owner

Just some minor maintenance, ahead of some more active development here.

  • adds CMake linting (cmakelint) and auto-formatting (cmake-format)
  • updates all pre-commit hooks with pre-commit autoupdate
  • changes the module names of all modules except pydistcheck.cli, to even further hide them and discourage their use, inspired by this new error from ruff:
ruff.....................................................................Failed
- hook id: ruff
- exit code: 1

src/pydistcheck/inspect.py:1:1: A005 Module `inspect` shadows a Python standard-library module
Found 1 error.

@jameslamb jameslamb added the maintenance Not a bug or feature label Jan 25, 2025
@jameslamb jameslamb changed the title [ci] add CMake linting/formatting, update pre-commit hooks [ci] add CMake linting/formatting, update pre-commit hooks, re-arrange modules Jan 25, 2025
@jameslamb jameslamb merged commit 19bc69c into main Jan 25, 2025
22 checks passed
@jameslamb jameslamb deleted the more-linting branch January 25, 2025 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Not a bug or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant