Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aesthetics #49

Merged
merged 2 commits into from
May 27, 2021
Merged

Aesthetics #49

merged 2 commits into from
May 27, 2021

Conversation

gmartinonQM
Copy link
Collaborator

Description

  • add pandas in environment, just to make more unit tests via sklearn
  • switch np.stack. by np.column_stack for less verbosity and improved readability
  • add more comments on shapes in predict method

Type of change

Please check options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

as usual

Checklist:

  • I have read the contributing guidelines
  • I have updated the HISTORY.rst and AUTHORS.rst files
  • Linting passes successfully : flake8 . --exclude=doc
  • Typing passes successfully : mypy mapie examples --strict --config-file mypy.ini
  • Unit tests pass successfully : pytest -vs --doctest-modules mapie
  • Coverage is 100% : pytest -vs --doctest-modules --cov-branch --cov=mapie --pyargs mapie
  • Documentation builds successfully : cd doc; make clean; make html

@codecov
Copy link

codecov bot commented May 27, 2021

Codecov Report

Merging #49 (548d46a) into master (c7b6430) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #49   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          407       409    +2     
  Branches        32        32           
=========================================
+ Hits           407       409    +2     
Impacted Files Coverage Δ
mapie/estimators.py 100.00% <100.00%> (ø)

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 c7b6430...548d46a. Read the comment docs.

@@ -4,7 +4,7 @@
- [ ] Check whether any new files need to go in MANIFEST.in
- [ ] Make sure tests run, pass and cover 100% of the package:
* `flake8 . --exclude=doc`
* `mypy mapie examples --strict --config-file mypy.ini`
Copy link
Member

Choose a reason for hiding this comment

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

Pourquoi supprimer le fichier de configuration ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Le fichier mypy.ini est en fait déjà lu par défaut, il n'y a pas besoin de repréciser
https://mypy.readthedocs.io/en/stable/config_file.html

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.

2 participants