wemake-python-styleguide v0.15.3 Release Notes

  • ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes crash on python3.10
    • ๐Ÿ›  Fixes UselessReturningElseViolation to not report else with break #1958
    • ๐Ÿ›  Fixes ReassigningVariableToItselfViolation to not report on x = (x,) #1807
    • ๐Ÿ›  Fixes ReassigningVariableToItselfViolation to extract variables from unary operators #1874
    • ๐Ÿ›  Fixes that f'{some:,}' was considered too complex #1921
    • ๐Ÿ›  Fixes that range(len(x)) was not allowed even outside for loops #1883
    • ๐Ÿ›  Fixes UselessReturningElseViolation to not report else with break #2187 (even if we have except in loop)
    • ๐Ÿ›  Fixes fixture in UselessReturningElseViolation #2191

    Misc

    • โž• Adds documentation (and tests) for how to run project on Jupyter Notebooks
    • โšก๏ธ Updates mypy to 0.902 and fixes type issues