Skip to content

Commit a05b669

Browse files
authored
Update Python version support and pre-commit in documentation (#1505)
1 parent 6e59103 commit a05b669

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/copilot-instructions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ruff check . --fix
6666
- **Formatter:** Black (v23.3.0+)
6767
- **Linter:** Ruff with Pyflakes and pycodestyle rules
6868
- **Import sorting:** Use isort (via Ruff)
69-
- **Python version:** Supports Python >= 3.10 (full support for 3.10, 3.11, 3.12; Python 3.13 tested but some optional dependencies may have limited compatibility)
69+
- **Python version:** Supports Python >= 3.10 (full support for 3.10, 3.11, 3.12 and 3.13)
7070

7171
### Code Quality Rules
7272

@@ -104,7 +104,7 @@ The repository uses pre-commit hooks for:
104104
### Test Requirements
105105

106106
- Write tests for new functionality
107-
- Ensure tests pass on multiple Python versions (3.10, 3.11, 3.12, 3.13)
107+
- Ensure tests pass on multiple Python versions (3.10, 3.11, 3.12 and 3.13)
108108
- Tests should work on both Ubuntu and Windows
109109
- Use pytest markers for platform-specific tests (e.g., `@pytest.mark.spark`)
110110
- Tests should be idempotent and not depend on external state
@@ -128,6 +128,7 @@ The repository uses pre-commit hooks for:
128128

129129
- Use clear, descriptive commit messages
130130
- Reference issue numbers when applicable
131+
- ALWAYS run `pre-commit run --all-files` before each commit to avoid formatting issues
131132

132133
### Pull Requests
133134

@@ -163,7 +164,7 @@ website/ # Documentation website
163164
### Core Dependencies
164165

165166
- NumPy >= 1.17
166-
- Python >= 3.10 (officially supported: 3.10, 3.11, 3.12; Python 3.13 is tested in CI but may have limited compatibility with some optional dependencies)
167+
- Python >= 3.10 (officially supported: 3.10, 3.11, 3.12 and 3.13)
167168

168169
### Optional Dependencies
169170

0 commit comments

Comments
 (0)