wemake-python-styleguide

Open source

The strictest and most opinionated python linter ever!

Become a contributor

Financial contributions

Custom contribution

Donation

Make a custom one time or recurring contribution to support this collective.
One time contribution

Say "Thanks!"

If you benefit from wemake-python-styleguide, say thanks to the developers! This is a one-time d... Read more

Starts at

$5 USD

+ 5

6 individuals and 2 organizations have contributed

Membership

Bronze sponsor

This is a base plan for a company to sponsor wemake-python-styleguide development. You will be l... Read more

$100 USD / month

1 organization has contributed

Membership

Silver sponsor

This is an advanced plan for a company to sponsor wemake-python-styleguide development. You will... Read more

$500 USD / month

Membership

Gold sponsor

This is a Golden plan for a company to sponsor wemake-python-styleguide development. 1. You will... Read more

$1,000 USD / month

Top financial contributors

Individuals

1

Nikita Sobolev

$5 USD since Jul 2019

2

Valentin Dombrovsky

$5 USD since Jul 2019

3

Artem Malyshev

$5 USD since Jul 2019

4

Kirill

$5 USD since Jul 2019

5

Artem B

$5 USD since Aug 2019

6

Ellina Morits

$5 USD since Nov 2019

Organizations

1

PJSC "Rostelecom"

$500 USD since Aug 2019

2

MoscowPython

$5 USD since Jul 2019

3

Drylabs

$5 USD since Jul 2019

4

git-secret

$5 USD since Nov 2019

What's new with wemake-python-styleguide

Stay up to dates with our latest activities and progress.

0.13.0 aka The Lintoberfest

This is a huge release that was created during the Hactoberfest season. It would have been impossible without the huge help from our awesome contributors. Thanks a lot to everyone!

This release is not focused on any particular area. It features a lot of new rules from different categories.

Features

  • Adds cognitive complexity metric, introduced by cognitive_complexity
  • Adds docstrings linter darglint
  • Updates pep8-naming and flake8-comprehensions
  • WPS431 now allow customize whitelist via nested-classes-whitelist setting
  • Forbids to have invalid strings in stared expressions like **{'@': 1}
  • Forbids to use implicit primitive values in a form of lambda: 0
  • Forbids to use approximate math constants
  • Forbids to redefine string constants
  • Forbids use of vague import names (e.g. from json import loads)
  • Makes OveruseOfNoqaCommentViolation configurable via --max-noqa-comments
  • Forbid incorrectly swapped variables
  • Forbids to use redundant subscripts (e.g., [0:7] or [3:None])
  • Allows super() as a valid overused expression
  • Forbids to use super() with other methods and properties
  • WPS350 enforces using augmented assign pattern
  • Forbids unnecessary literals
  • WPS525 forbids comparisons where in is compared with single item container
  • Forbids wrong annotations in assignment
  • Forbids using multiline for and while statements
  • WPS113 now can be tweaked with I_CONTROL_CODE setting
  • Adds WPS000 that indicates internal errors
  • Forbids to use implicit yield from

Full changelog: https://github.com/wemake-services/wemake-python-styleguide/releases/tag/0.13.0

Published on November 20, 2019 by Nikita Sobolev

Budget

See how money openly circulates through wemake-python-styleguide. All contributions and all expenses are published in our transparent public ledger. Learn who is donating, how much, where is that money going, submit expenses, get reimbursed and more!

Monthly donation to wemake-python-styleguide (Bronze spon...

PJSC "Rostelecom" | 12/2/2019 | View Details 
+$100.00USD

Donation to wemake-python-styleguide (Say "Thanks!")

Ellina Morits | 11/20/2019 | View Details 
+$5.00USD

Donation to wemake-python-styleguide (Say "Thanks!")

git-secret | 11/20/2019 | View Details 
+$5.00USD

Today’s balance

$465.94 USD

Estimated annual budget

~ $1,066.54 USD

wemake-python-styleguide is all of us

Our contributors 11

Everyone who has supported wemake-python-styleguide. Individuals and organizations that believe in –and take ownership of– our purpose.

Nikita Sobolev
Collective Admin

Total contributions

$5 USD

A little bit of self support!

PJSC "Rostele...
Financial Contributor

Total contributions

$500 USD

Valentin Domb...
Financial Contributor

Total contributions

$5 USD

Artem Malyshev
Financial Contributor

Total contributions

$5 USD

The best linter for Python ever!

MoscowPython
Financial Contributor

Total contributions

$5 USD

Drylabs
Financial Contributor

Total contributions

$5 USD

Kirill
Financial Contributor

Total contributions

$5 USD

Enjoy this style guide along with other wemake.services' initiatives

Artem B
Financial Contributor

Total contributions

$5 USD

git-secret
Financial Contributor

Total contributions

$5 USD

Ellina Morits
Financial Contributor

Total contributions

$5 USD

About

wemake-python-styleguide is actually a flake8 plugin with some other plugins as dependencies.