flake8-pie icon indicating copy to clipboard operation
flake8-pie copied to clipboard

Similar rules

Open sobolevn opened this issue 5 years ago • 1 comments

Hi, I represent https://github.com/wemake-services/wemake-python-styleguide project.

Awesome tool! We have the same rules:

  • We disallow inconsistent returns: https://wemake-python-styleguide.readthedocs.io/en/latest/pages/violations/consistency.html#wemake_python_styleguide.violations.consistency.InconsistentReturnViolation
  • We disallow variables used for return only https://wemake-python-styleguide.readthedocs.io/en/latest/pages/violations/consistency.html#wemake_python_styleguide.violations.consistency.InconsistentReturnVariableViolation
  • We disallow f strings: https://wemake-python-styleguide.readthedocs.io/en/latest/pages/violations/consistency.html#wemake_python_styleguide.violations.consistency.FormattedStringViolation

And since our plugins are so similar I would be happy to list your plugin in our docs. Maybe you could do the same?

Original issue: https://github.com/wemake-services/wemake-python-styleguide/issues/471#issuecomment-461822361

sobolevn avatar Jun 02 '19 09:06 sobolevn

Hi, you've got a great set of rules in your plugin!

FYI, I see some rules are also implemented in other plugins:

  • PIE781 and R504 (from https://github.com/afonasev/flake8-return)
  • PIE791 and B015 (from https://github.com/PyCQA/flake8-bugbear)
  • PIE792 and SIM120 (from https://github.com/MartinThoma/flake8-simplify)
  • PIE797 and SIM210
  • PIE803 and G001/G002/G004 (from https://github.com/globality-corp/flake8-logging-format)

ericbn avatar Mar 27 '22 01:03 ericbn