Ram Rachum
|
78a539a2a5
|
Massaging some code
|
2019-06-18 20:34:25 +02:00 |
|
pikez
|
d7d3a80c16
|
Fix unittest for activating pysnooper
|
2019-06-18 20:34:25 +02:00 |
|
pikez
|
b4c8c16ed9
|
remove setup function and description
|
2019-06-18 20:34:25 +02:00 |
|
pikez
|
f1582fc16c
|
add unittest for activate and setup snoop
|
2019-06-18 20:34:25 +02:00 |
|
Ram Rachum
|
7687ee1c26
|
Fix formatting
|
2019-06-15 15:56:34 +02:00 |
|
Ram Rachum
|
f793796ad3
|
Removing python_toolbox test dependency
|
2019-06-15 15:56:34 +02:00 |
|
Xiang Gao
|
25dcc9ff62
|
sort list of dict keys
|
2019-05-30 09:02:11 +03:00 |
|
Xiang Gao
|
77e6c54456
|
remove numpy from test
|
2019-05-30 09:02:11 +03:00 |
|
Xiang Gao
|
7c7e7eb81a
|
Changes according to review
|
2019-05-30 09:02:11 +03:00 |
|
Xiang Gao
|
4a32e77b33
|
Add support for custom repr
|
2019-05-30 09:02:11 +03:00 |
|
Ram Rachum
|
56f22f8ffe
|
Fix unicode issues and add test, fix #124
|
2019-05-20 11:42:39 +03:00 |
|
Ram Rachum
|
e21a31162f
|
Formatting
|
2019-05-20 11:15:57 +03:00 |
|
Alexander Bersenev
|
a73ea14f58
|
get rid from six module
|
2019-05-14 17:47:33 +03:00 |
|
Nikita Melentev
|
5698d6c3e2
|
Support generators
|
2019-05-11 15:09:37 +03:00 |
|
Alexander Bersenev
|
cb280323e5
|
Don't always place new variables before the modified ones
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
ca90f55d5f
|
Make order test more reliable on pypy
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
2a6b2b4299
|
Variable ordering test
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
17d8a41b3b
|
Restore cell vars support in the ordered printing.
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
92ff55d2f1
|
Make predictable order of items if we don't know the proper order.
Also fix tests
|
2019-05-11 14:25:47 +03:00 |
|
Alex Hall
|
90a1946529
|
Newest python versions have different repr for exceptions, avoid altogether
|
2019-05-11 13:34:55 +03:00 |
|
Alex Hall
|
dea100b929
|
Add test for exception
|
2019-05-11 13:34:55 +03:00 |
|
Alex Hall
|
f4bae3f1a9
|
Unify imports
|
2019-05-11 09:38:09 +03:00 |
|
Alex Hall
|
3b8de8826e
|
Add indentation tests with new assert_sample_output
|
2019-05-11 09:38:09 +03:00 |
|
Alex Hall
|
af76e55aef
|
Truncate long variables in the middle
|
2019-05-10 20:48:09 +03:00 |
|
Hervé Beraud
|
fae0ce0c76
|
Add support for thread identifiers
Display thread infos (identifier and name) on output to help
user to track execution on apps who use threading.
|
2019-05-10 18:57:50 +03:00 |
|
Ram Rachum
|
0482853d96
|
Remove reprlib because it's not reliable for simple cases
|
2019-05-09 09:15:59 +03:00 |
|
Alex Hall
|
7ac2d59624
|
Improve checks for tracing, add tests for with blocks
|
2019-05-05 18:22:01 +03:00 |
|
Alex Hall
|
750ef4c639
|
Rename to needs_parentheses
|
2019-05-03 22:54:41 +03:00 |
|
Alex Hall
|
7a1b457013
|
Only add parentheses to exploded expressions if needed
|
2019-05-03 22:54:41 +03:00 |
|
Alex Hall
|
2732922e1d
|
Test output directly to Path object (currently fails)
|
2019-05-03 21:45:54 +03:00 |
|
Ram Rachum
|
b805ea0dc4
|
Rename for coolness
|
2019-05-03 18:47:23 +03:00 |
|
Ram Rachum
|
28ede280fc
|
Move __repr__ to base class
|
2019-05-03 18:47:23 +03:00 |
|
Ram Rachum
|
d449f3ed91
|
Massaging some code
|
2019-05-03 18:47:23 +03:00 |
|
Alex Hall
|
215a580fa1
|
Tests for exploding variables
|
2019-05-03 18:47:23 +03:00 |
|
Mike Bayer
|
20e746ac92
|
Allow a callable to be passed to snoop()
Fixes: #80
|
2019-05-03 18:24:05 +03:00 |
|
Alex Hall
|
0322982875
|
More informative repr for exceptions. Forgot to use repr_instance
|
2019-04-28 14:29:11 +03:00 |
|
Alex Hall
|
4ec976bd14
|
PR feedback:
Swap imports
Raise maxother locally
Demo long variable output
|
2019-04-28 14:29:11 +03:00 |
|
Ram Rachum
|
ec7687fab3
|
Add test_single_variable_no_comma
|
2019-04-26 12:53:46 +03:00 |
|
Ram Rachum
|
e21fc11352
|
Massaging some code
|
2019-04-26 12:48:58 +03:00 |
|
Alex Hall
|
c9a51de674
|
Test arbitrary expression evaluation.
|
2019-04-26 12:48:58 +03:00 |
|
Alex Hall
|
a1471f6fb9
|
Use dedent for nice multiline string
|
2019-04-26 10:05:12 +03:00 |
|
Alex Hall
|
2708376bdf
|
Fully readable failure from assert_output
|
2019-04-26 10:05:12 +03:00 |
|
Alex Hall
|
36b3271f0a
|
Fix incorrect tuple passed to variables in test
|
2019-04-26 10:05:12 +03:00 |
|
Alex Hall
|
d29cd6f464
|
Make it easier to read assert_output failure by showing mismatched line rather than just mismatched length. Also, .format can't evaluate arbitrary Python
|
2019-04-26 10:05:12 +03:00 |
|
Alex Hall
|
93edf6fced
|
Remove more calls to decode using u prefix
|
2019-04-26 10:05:12 +03:00 |
|
Alex Hall
|
30e5789177
|
Basic fixes for linters: remove unused variables and imports, plus whitespace and other style improvements for PEP8
Edited by Ram.
# Conflicts:
# pysnooper/pysnooper.py
# tests/test_pysnooper.py
|
2019-04-25 21:49:44 +03:00 |
|
Ram Rachum
|
948fa7a312
|
Argument to overwrite file #5
|
2019-04-25 21:34:45 +03:00 |
|
Ram Rachum
|
4c0b64fd0b
|
Bundling decorator and six, look ma no dependencies!
|
2019-04-24 23:16:59 +03:00 |
|
Ram Rachum
|
08aea68d6a
|
Fix bug in not closing file on PyPy
|
2019-04-24 22:32:08 +03:00 |
|
Ram Rachum
|
3a8c0c35a2
|
Fail gracefully when can't find code
|
2019-04-24 22:12:53 +03:00 |
|