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

Replace print with logging #133

Merged
merged 34 commits into from
Jul 11, 2022
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c879769
Log instead of print
rparini Jan 4, 2020
2a7b2d4
Add progress bar
rparini Jan 4, 2020
46a7435
Removed unexpected verbose
rparini Jan 4, 2020
44cba9e
Black
rparini Mar 7, 2022
bb090e5
Revert "Black"
rparini Mar 9, 2022
0c1a2c0
run black
rparini Apr 8, 2022
44dd859
merge
rparini Apr 8, 2022
588c059
Merge branch 'master' of https://github.com/RParini/cxroots into feat…
rparini Apr 8, 2022
70e6fd0
Fix docstring
rparini Apr 8, 2022
41f57e3
Fix find_roots verbose
rparini Apr 8, 2022
7e1d2fc
Fix multiplicity tests
rparini Apr 8, 2022
a2225c0
Replace tqdm
rparini Apr 11, 2022
bdc8860
Replace progress with rich
rparini Apr 15, 2022
51c6274
fix rich version
rparini Apr 15, 2022
fa22553
Update docs
rparini Apr 24, 2022
4ac25ca
Unpin rich for python2
rparini Apr 26, 2022
7458cef
Merge remote-tracking branch 'origin/master' into feat/logging
rparini May 3, 2022
a9355eb
Merge branch 'master' into feat/logging
rparini May 3, 2022
1d6a0e9
Merge branch 'master' into feat/logging
rparini Jul 10, 2022
937c38d
Changelog
rparini Jul 10, 2022
d866292
Remove docs changes
rparini Jul 11, 2022
fb3bcb7
Changelog
rparini Jul 11, 2022
f014c1f
Changelog
rparini Jul 11, 2022
5392a82
Spelling
rparini Jul 11, 2022
ef63544
Add rich to changelog
rparini Jul 11, 2022
575c96a
Remove more verbose
rparini Jul 11, 2022
19c528f
Fix whitespace
rparini Jul 11, 2022
5a254fe
Update .gitignore
rparini Jul 11, 2022
97cadb2
Update changelog.md
rparini Jul 11, 2022
6afb5af
Update changelog.md
rparini Jul 11, 2022
84b9c2b
Update docs_src/docex_logging.py
rparini Jul 11, 2022
ec1efd2
Update docs_src/logging.rst
rparini Jul 11, 2022
c8540ba
Whitespace
rparini Jul 11, 2022
cefa07b
Merge branch 'feat/logging' of https://github.com/rparini/cxroots int…
rparini Jul 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changelog
  • Loading branch information
rparini committed Jul 11, 2022
commit f014c1f6371505ed3019864379120ea226288d35
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## Changelog
### Unreleased
- Drop support for Python 2
- Removes the `verbose` argument printing to stdout. Instead cxroots logs rootfinding progress which can be accessed using the standard library [logging module](https://docs.python.org/3/library/logging.html). See the [documentation](https://rparini.github.io/cxroots/logging.html) for examples.
- cxroots now logs rootfinding progress which can be accessed using the standard library [logging module](https://docs.python.org/3/library/logging.html). See the [documentation](https://rparini.github.io/cxroots/logging.html) for examples.
rparini marked this conversation as resolved.
Show resolved Hide resolved
- The `verbose` argument has been removed from some functions and for the `Contour.roots` method or `find_roots` function it will now create a progres bar, rather than printing debugging information to the console.
- Use [Black](https://github.com/psf/black) formatting and added pre-commit hook
- Add `cxroots[plot]` install option that will install dependencies for plotting contours and roots
- Contour arrows to are now scale-independent ([#153](https://github.com/rparini/cxroots/issues/153), thanks [@llohse](https://github.com/llohse))
Expand Down