A new refactoring and plenty of bug fixes!
Added
remove-assert-truerefactoring- You can now set which rule types you wish to see in the PyCharm Sourcery settings.
Fixed
- LSP gracefully handles empty
tokenand missingruleTypesettings which resolves issues in Vim - Prevent
equality-identityfrom triggering with float or complex numbers sinceNaN == NaNis false - Prevent
hoist-statement-from-loopfrom triggering when the assignment value writes variables use-fstring-for-concatenationnow keeps the correct string quote for both sides of the concatenation- Prevent
instance-method-first-arg-namefrom firing for built-in class methods__new__,__init_subclass__, and__class_getitem__, which instead will triggerclass-method-first-arg-name. - Allow
use-fstring-for-concatenationto 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.