aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* chore: update pre-commit configuration to skip specific hooksfeat/Instance/Profile-SystemHsiangNianian2026-01-161-1/+2
| | | | Modified the .pre-commit-config.yaml file to add a skip option for formatting, cargo-check, and clippy hooks. This change optimizes the pre-commit setup by allowing selective execution of hooks, enhancing the efficiency of the development workflow.
* chore: update pre-commit configuration for Rust hooksHsiangNianian2026-01-161-14/+6
| | | | Modified the .pre-commit-config.yaml file to replace the Rust pre-commit repository and update the hooks for formatting and linting. This change enhances the configuration by using the latest version of the Rust pre-commit hooks and streamlining the setup for Rust projects.
* chore: update pre-commit configuration to include Rust as system languageHsiangNianian2026-01-161-1/+2
| | | | Modified the .pre-commit-config.yaml file to add 'rust' to the system_language setting, ensuring that pre-commit hooks are properly configured for Rust projects. This change enhances the versatility of the pre-commit setup.
* chore: update pre-commit configuration to specify language for clippy checksHsiangNianian2026-01-161-0/+2
| | | | Modified the .pre-commit-config.yaml file to explicitly set the language for clippy checks to 'system', ensuring consistent behavior across different environments. This change enhances the clarity of the configuration.
* chore: update pre-commit configuration to specify language for hooksHsiangNianian2026-01-161-5/+4
| | | | Removed the language specification for the ruff hook and added it for the fmt and clippy hooks, ensuring proper configuration for Rust in the pre-commit setup.
* chore: update pre-commit configuration to skip formatting and clippy checksHsiangNianian2026-01-161-0/+3
| | | | Modified the .pre-commit-config.yaml to skip the formatting and clippy checks during the CI process, optimizing the pre-commit workflow. Added Rust as the language for the pre-commit hook to ensure compatibility.
* chore: update pre-commit configuration to enable autofix for PRsHsiangNianian2026-01-161-5/+6
| | | | Added autofix settings to the pre-commit configuration, allowing automatic fixes for issues detected by hooks. Reorganized the repository structure for clarity and removed redundant entries.
* chore: update pre-commit configuration and remove unnecessary dependenciesHsiangNianian2026-01-161-4/+12
| | | | Modified the .pre-commit-config.yaml to include additional hooks and reorganized the repository structure. Updated pyproject.toml to remove the pre-commit dependency, streamlining the project configuration.
* chore: adjust clippy arguments in pre-commit configuration for improved lintingHsiangNianian2026-01-161-1/+1
| | | | Modified the .pre-commit-config.yaml to reorder the arguments for the clippy hook, ensuring that the `-D warnings` flag is correctly positioned. This change enhances the clarity and effectiveness of the linting process for Rust code.
* chore: update clippy arguments in pre-commit configuration to treat warnings ↵HsiangNianian2026-01-161-1/+1
| | | | | | as errors Modified the .pre-commit-config.yaml to adjust the clippy hook arguments, enforcing warnings as errors. This change enhances the strictness of the linting process for Rust code, ensuring higher code quality standards.
* chore: update clippy arguments in pre-commit configuration to remove ↵HsiangNianian2026-01-161-1/+1
| | | | | | warnings as errors Modified the .pre-commit-config.yaml to adjust the clippy hook arguments, removing the enforcement of warnings as errors. This change simplifies the linting process for Rust code, allowing for a more lenient approach to warnings.
* 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.