uber / petastorm

Petastorm library enables single machine or distributed training and evaluation of deep learning models from datasets in Apache Parquet format. It supports ML frameworks such as Tensorflow, Pytorch, and PySpark and can be used from pure Python code.
Apache License 2.0
1.78k stars 285 forks source link

Unbreak "C901 ... too complex" flake failures in CI #701

Closed selitvin closed 3 years ago

selitvin commented 3 years ago

Not sure why a bunch of functions such as _numpy_and_codec_from_arrow_type are now flagged as too complex. Bump up complexity threashold, as the functions that are flagged look reasonable to me.

codecov[bot] commented 3 years ago

Codecov Report

Merging #701 (6be04e2) into master (8867089) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #701   +/-   ##
=======================================
  Coverage   85.93%   85.93%           
=======================================
  Files          84       84           
  Lines        4957     4957           
  Branches      788      788           
=======================================
  Hits         4260     4260           
  Misses        558      558           
  Partials      139      139           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8867089...6be04e2. Read the comment docs.