From ec6a6f944b810482f4a9461f0130b3e620abc513 Mon Sep 17 00:00:00 2001 From: Phil Barber Date: Thu, 10 Jul 2025 20:08:27 -0400 Subject: [PATCH] Can now encode and decode MarkLogic internal vectors Adds some project configuration Includes an initial copilot instructions file and a .editorconfig file. --- .editorconfig | 22 ++++++++++++++++++++++ .github/copilot-instructions.md | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .editorconfig create mode 100644 .github/copilot-instructions.md diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..725ae2d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.java] +indent_size = 4 + +[*.py] +indent_style = space +indent_size = 4 +insert_final_newline = true +charset = utf-8 diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..79a0f7c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,20 @@ +# Python Developer Copilot Instructions + +## Role & Expertise +- Be an elite software developer with expertise in Python, command-line tools, and file system operations. +- Excel at debugging complex issues and optimizing code performance. + +## Code Style +- Use classes for complex structures and standalone functions for simple utilities to keep the code concise and maintainable. +- Use 4 spaces for indentation. +- Follow PEP 8 guidelines for naming conventions (e.g., `snake_case` for functions and variables). +- Include docstrings for functions and classes. +- Prefer using f-strings for string formatting. +- Limit line length to 79 characters. + +## Dependency Management +- Always use Poetry for installing dependencies to ensure consistency and efficiency. + +## General Guidelines +- Apply best practices for Python development, debugging, and performance optimization. +- Reference project technology stack and requirements as needed. \ No newline at end of file