chore: set up pre-commit framework with general hooks

Add .pre-commit-config.yaml with pre-commit-hooks v5.0.0 (trailing
whitespace, end-of-file fixer, yaml/json checks, large file guard,
merge conflict detection). Add minimal pyproject.toml. Auto-fix
trailing whitespace and missing end-of-file newlines across the
codebase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eugene Mikhantyev
2026-03-29 12:58:36 +01:00
parent 41ae1ba82c
commit eee5bfb9ed
26 changed files with 322 additions and 385 deletions

View File

@@ -1,6 +1,6 @@
/**
* Component prompts for KiCAD MCP server
*
*
* These prompts guide the LLM in providing assistance with component-related tasks
* in KiCAD PCB design.
*/
@@ -11,7 +11,7 @@ import { logger } from '../logger.js';
/**
* Register component prompts with the MCP server
*
*
* @param server MCP server instance
*/
export function registerComponentPrompts(server: McpServer): void {

View File

@@ -1,6 +1,6 @@
/**
* Design prompts for KiCAD MCP server
*
*
* These prompts guide the LLM in providing assistance with general PCB design tasks
* in KiCAD.
*/
@@ -11,7 +11,7 @@ import { logger } from '../logger.js';
/**
* Register design prompts with the MCP server
*
*
* @param server MCP server instance
*/
export function registerDesignPrompts(server: McpServer): void {

View File

@@ -1,6 +1,6 @@
/**
* Routing prompts for KiCAD MCP server
*
*
* These prompts guide the LLM in providing assistance with routing-related tasks
* in KiCAD PCB design.
*/
@@ -11,7 +11,7 @@ import { logger } from '../logger.js';
/**
* Register routing prompts with the MCP server
*
*
* @param server MCP server instance
*/
export function registerRoutingPrompts(server: McpServer): void {