Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Conversation

@moan0s
Copy link
Contributor

@moan0s moan0s commented Feb 17, 2022

This (breaking) change will change the behavior of adding and removing to allowlist and blocklist. Provided with en invalid regex to add/remove the library will no longer only print an error and not change the allow and blocklist but fail with re.error. This enables users of the library to determine if the action was successful. This can also happen in load_toml as the regex patterns for allowlist and blocklist are compiled.

@ghost
Copy link

ghost commented Feb 19, 2022

Can you xfail the tests that will break?

@moan0s
Copy link
Contributor Author

moan0s commented Feb 20, 2022

I think the tests that fail have nothing to do with my changes or do they?

@ghost
Copy link

ghost commented Feb 20, 2022

I think they do. The master has passing tests, but the tests fail on this branch.

https://github.com/i10b/simplematrixbotlib/runs/5240125176?check_suite_focus=true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant