Skip to content

Commit 2a62681

Browse files
committed
Update AGENTS.md with new Python and Django version requirements
- Updated Python version requirement from 3.9+ to 3.10+ - Added Django 6.0 to supported versions - Updated test matrix to reflect Python 3.10-3.14 - Added note about PEP 604 union syntax in type hints
1 parent b72a02c commit 2a62681

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ python manage.py compilemessages
9292
- **Line length**: 120 characters
9393
- **Import style**: Use `isort` via ruff (combine-as-imports = true)
9494
- **Code quality**: Follows ruff rules including pycodestyle, pyflakes, flake8-bugbear, and pyupgrade
95-
- **Type hints**: Prefer modern Python type annotations
96-
- **Django version**: Support Django 4.2, 5.0, 5.1, 5.2
97-
- **Python version**: Python 3.9+
95+
- **Type hints**: Prefer modern Python type annotations (PEP 604 union syntax: `X | Y` instead of `Union[X, Y]`)
96+
- **Django version**: Support Django 4.2, 5.0, 5.1, 5.2, 6.0
97+
- **Python version**: Python 3.10+
9898

9999
### JavaScript
100100
- **Linter**: ESLint (configured in .eslintrc.js)
@@ -161,8 +161,8 @@ djangocms-versioning/
161161

162162
- Tests are in the `tests/` directory
163163
- Use Django's test framework
164-
- Test against multiple Python versions (3.9, 3.10, 3.11)
165-
- Test against multiple Django versions (4.2, 5.0, 5.1, 5.2)
164+
- Test against multiple Python versions (3.10, 3.11, 3.12, 3.13, 3.14)
165+
- Test against multiple Django versions (4.2, 5.0, 5.1, 5.2, 6.0)
166166
- Example implementation in `djangocms_versioning/test_utils/polls/`
167167
- Coverage configured to omit migrations, test utils, and tests themselves
168168

0 commit comments

Comments
 (0)