flake8-expression-complexity icon indicating copy to clipboard operation
flake8-expression-complexity copied to clipboard

flake8 plugin to validate expressions complexity

Results 6 flake8-expression-complexity issues
Sort by recently updated
recently updated
newest added

**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...

bug

**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...

bug

I would love to see a hint in the README what expression complexity is

enhancement

Expression complexity should be integer, in code and in error text. Now it is float.

bug
good first issue

Script should download all the repos and check, that `get_expression_complexity` does not raises errors at all the code.

enhancement

Help texts are required: they are displayed in `flake8 --help` output.

enhancement