Closed bibz closed 1 year ago
Thanks for reporting this issue @bibz
I have literally just discovered this issue internally myself!
I have a fix for it which will be in the next release of Sourcery
Note that this is only failing in the config. If you comment out those failing tests then it will work in the rest of your codebase
Note that this is only failing in the config. If you comment out those failing tests then it will work in the rest of your codebase
Ah, good to know! Indeed, as you mention, without the test my rule works :+1:
Resolved in 0.12.8
Checklist
Description
According to the pattern syntax documentation, qualified name resolution should work out of the box.
Defining a sourcery configuration with the example rule from the documentation is not working, the IDE plugin (and the CLI as well) complains the tests do not pass.
I would expect that the example rule from the documentation is supported by the tool.
Debug Information
IDE Version:
PyCharm 2022.2.1 (Professional Edition)
Sourcery Version:sourcery, version 0.12.7
Operating system and Version: Debian 11.4 (
Linux 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux
)