aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* chore: update pre-commit configuration to change clippy and formatting argumentsHsiangNianian2026-01-161-2/+2
| | | | Modified the .pre-commit-config.yaml to adjust the arguments for the formatting and clippy hooks, switching to a check mode for formatting and enforcing warnings as errors for clippy. This change improves the linting and formatting processes for Rust code.
* chore: update pre-commit configuration to include additional argument for ↵HsiangNianian2026-01-161-2/+2
| | | | | | Rust hooks Modified the .pre-commit-config.yaml to add an extra argument to the formatting and clippy hooks, ensuring proper handling of additional parameters during execution. This change enhances the flexibility of the linting and formatting processes for Rust code.
* chore: remove automatic fix option from clippy in pre-commit configurationHsiangNianian2026-01-161-1/+1
| | | | Updated the .pre-commit-config.yaml to remove the automatic fix option for the clippy hook, streamlining the linting process for Rust code by requiring manual fixes. This change enhances control over code quality checks.
* chore: update clippy arguments in pre-commit configurationHsiangNianian2026-01-161-1/+1
| | | | Modified the .pre-commit-config.yaml to change the arguments for the clippy hook, allowing it to automatically fix issues and permit changes in dirty working directories. This enhances the linting process for Rust code in the project.
* chore: ensure newline at end of pre-commit configuration fileHsiangNianian2026-01-161-1/+1
| | | | Added a newline at the end of the .pre-commit-config.yaml file to adhere to best practices for file formatting, ensuring compatibility with various tools and editors.
* chore: refine pre-commit configuration for Rust hooksHsiangNianian2026-01-161-1/+2
| | | | Updated the .pre-commit-config.yaml to specify the manifest path for Rust hooks, ensuring proper integration with the Cargo.toml file in the src-tauri directory. This change enhances the functionality of the formatting and linting processes.
* chore: update pre-commit configuration for Rust and Python hooksHsiangNianian2026-01-161-33/+9
| | | | Modified the .pre-commit-config.yaml to downgrade versions of pre-commit hooks for improved compatibility. Removed local Rust hooks and replaced them with hooks from the official Rust pre-commit repository, adding support for formatting and linting. Adjusted Python hooks to streamline the linting process.
* chore: add cargo formatting and linting hooks to pre-commit configurationHsiangNianian2026-01-161-0/+14
| | | | Enhanced the pre-commit configuration by adding hooks for Rust code formatting with `cargo fmt` and linting with `cargo clippy` for files in the `src-tauri` directory. This improves code quality checks for Rust components in the project.
* chore: add pre-commit configuration for linting and formattingHsiangNianian2026-01-161-0/+35
Introduced a new .pre-commit-config.yaml file to set up pre-commit hooks for code quality checks, including AST checks, JSON, TOML, and YAML validation, as well as Ruff for Python linting and formatting. Added custom hooks for linting and formatting Svelte/TypeScript/JavaScript files in the 'ui' directory.