Skip to content

Silence residual W605 SyntaxWarnings (closes #23) - #31

Merged
jameskermode merged 1 commit into
masterfrom
chore/warnings-cleanup
Jun 9, 2026
Merged

jameskermode merged 1 commit into
masterfrom
chore/warnings-cleanup

Conversation

@jameskermode

Copy link
Copy Markdown
Member

The lazyproperty → functools.cached_property migration and the NumPy 2.0 alias fixes for #23 were already done in earlier commits. The only remaining SyntaxWarning: invalid escape sequence '\S' / '\[' (W605) came from three non-raw string literals in examples/create_kv_tests.py — marked raw here.

flake8 --select=W605 is now clean across the repo (excluding the stray local venv/), and python -W error::SyntaxWarning -c "import extxyz..." imports cleanly. The one remaining warning in the wild originates in ASE upstream, not this package.

Closes #23.

🤖 Generated with Claude Code

…ings

The remaining `SyntaxWarning: invalid escape sequence '\S' / '\['` (W605, seen
in CI lint) came from non-raw string literals in examples/create_kv_tests.py.
Mark them raw. The lazyproperty->functools.cached_property migration and the
numpy-2.0 alias fixes were already done in earlier commits; the only other
remaining warning originates in ASE upstream, not this package.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jameskermode
jameskermode merged commit 882484f into master Jun 9, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

warnings with current python versions

1 participant