flake8-expression-complexity
flake8-expression-complexity copied to clipboard
flake8 plugin to validate expressions complexity
**Describe the bug** I ran it on the following code of chained pandas methods: ``` mean_distances = (dataframe .groupby('group')['distance'] .mean() .to_frame() .reset_index() .fillna(0) .rename(columns={'distance': 'distance_mean'}) ) ``` and was surprised...
**Describe the bug** We have a builder class that we'll instantiate and get a result from all in a single statement. This works well because most of the time we...
I would love to see a hint in the README what expression complexity is
Expression complexity should be integer, in code and in error text. Now it is float.
Script should download all the repos and check, that `get_expression_complexity` does not raises errors at all the code.
Help texts are required: they are displayed in `flake8 --help` output.