Skip to content

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Jul 3, 2018

Fixes #711 Declare as global these two functions which are not created in the normal way. This PR helps both humans and linters to understand this unusual situation.

Fixes joblib#711  Declare as global these two functions which are not created in the normal way.  This PR helps both humans and linters to understand this unusual situation.
@codecov
Copy link

codecov bot commented Jul 3, 2018

Codecov Report

Merging #713 into master will increase coverage by 0.15%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
+ Coverage   95.02%   95.18%   +0.15%     
==========================================
  Files          40       40              
  Lines        5747     5751       +4     
==========================================
+ Hits         5461     5474      +13     
+ Misses        286      277       -9
Impacted Files Coverage Δ
joblib/test/test_memory.py 97.81% <50%> (+0.01%) ⬆️
joblib/test/test_func_inspect.py 91.15% <60%> (ø) ⬆️
joblib/_store_backends.py 91% <0%> (+0.52%) ⬆️
joblib/_parallel_backends.py 96% <0%> (+1.2%) ⬆️
joblib/backports.py 95.83% <0%> (+2.08%) ⬆️
joblib/disk.py 88.33% <0%> (+6.66%) ⬆️

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 9028693...9ac8e25. Read the comment docs.

@GaelVaroquaux GaelVaroquaux changed the title global func_with_kwonly_args, func_with_signature [MRG+1] global func_with_kwonly_args, func_with_signature Jul 3, 2018
Copy link
Member

@GaelVaroquaux GaelVaroquaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks!

@lesteve
Copy link
Member

lesteve commented Jul 4, 2018

I pushed some small tweaks, this can be merged if CIs are green.

@lesteve
Copy link
Member

lesteve commented Jul 4, 2018

I am going to ignore the codecov failure which is very likely due adding the functions that are actually never run. You can not please everyone I guess :-) ...

@lesteve lesteve merged commit 6a2f906 into joblib:master Jul 4, 2018
@lesteve
Copy link
Member

lesteve commented Jul 4, 2018

Merging thanks @cclaus!

@cclauss cclauss deleted the patch-1 branch July 4, 2018 17:24
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Jul 28, 2018
* tag '0.12.1':
  Release 0.12.1
  fix kwonlydefaults key error in filter_args (joblib#715)
  MNT fix some "undefined name" flake8 warnings (joblib#713).
  from importlib import reload for Python 3 (joblib#675)
  MTN vendor loky2.1.4 (joblib#708)
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Jul 28, 2018
* releases: (121 commits)
  Release 0.12.1
  fix kwonlydefaults key error in filter_args (joblib#715)
  MNT fix some "undefined name" flake8 warnings (joblib#713).
  from importlib import reload for Python 3 (joblib#675)
  MTN vendor loky2.1.4 (joblib#708)
  Release 0.12
  typo
  typo
  typo
  ENH add initializer limiting n_threads for C-libs (joblib#701)
  DOC better parallel docstring (joblib#704)
  [MRG] Nested parallel call thread bomb mitigation (joblib#700)
  MTN vendor loky2.1.3 (joblib#699)
  Make it possible to configure the reusable executor workers timeout (joblib#698)
  MAINT increase timeouts to make test more robust on travis
  DOC: use the .joblib extension instead of .pkl (joblib#697)
  [MRG] Fix exception handling in nested parallel calls (joblib#696)
  Fix skip test lz4 not installed (joblib#695)
  [MRG] numpy_pickle:  several enhancements (joblib#626)
  Introduce Parallel.__call__ backend callbacks (joblib#689)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants