A new refactoring and plenty of bug fixes!
Added
remove-assert-true
refactoring- You can now set which rule types you wish to see in the PyCharm Sourcery settings.
Fixed
- LSP gracefully handles empty
token
and missingruleType
settings which resolves issues in Vim - Prevent
equality-identity
from triggering with float or complex numbers sinceNaN == NaN
is false - Prevent
hoist-statement-from-loop
from triggering when the assignment value writes variables use-fstring-for-concatenation
now keeps the correct string quote for both sides of the concatenation- Prevent
instance-method-first-arg-name
from firing for built-in class methods__new__
,__init_subclass__
, and__class_getitem__
, which instead will triggerclass-method-first-arg-name
. - Allow
use-fstring-for-concatenation
to trigger on long lines if this results in shorter lines (fixes issue #222) - GitHub config
request_review
: Fix so that a single value can be used again.