wemake-python-styleguide0.15.3 › Violations › WPS3xx Consistency

WPS3xx Consistency

These checks limit Python's inconsistencies.

We can do the same things differently in Python. For example, there are three ways to format a string. There are several ways to write the same number.

We like our code to be consistent. It is easier to work with your code base if you follow these rules.

So, we choose a single way to do things. It does not mean that we choose the best way to do it. But, we value consistency more than being 100% right and we are ready to suffer all trade-offs that might come.

Once again, these rules are highly subjective, but we love them.