Skip to content

Conversation

@aphedges
Copy link
Collaborator

These were caused by not using raw strings in the grammar. I discovered this problem when running tests on a repository that uses daidepp with a more strict configuration.

I also made some changes to the test configuration to prevent problems like these from happening again without being caught.

aphedges added 3 commits July 15, 2025 16:16
These were caused by not using raw strings in the grammar. I discovered
this problem when running tests on a repository that uses `daidepp` with
a more strict configuration.
The previous commit fixes the `DeprecationWarning`s that were being
suppressed, so this is now safe to enable.
This enables more errors and warnings, which should prevent regressing
on problems that have already been fixed.

I tried to also add `-X warn_default_encoding`, but `regex` (required by
`parsimonious`) fails with it enabled.
@aphedges aphedges requested a review from mjspeck July 18, 2025 20:06
@aphedges aphedges self-assigned this Jul 18, 2025
@aphedges aphedges added the bug Something isn't working label Jul 18, 2025
@aphedges
Copy link
Collaborator Author

The changes are pretty minimal, and CI passes, so I'm just going to merge this PR.

@aphedges aphedges merged commit f6eb8a8 into SHADE-AI:main Jul 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant