Raphael Borun Das Gupta
200cca8d73
add LF at EOF
2021-11-13 12:18:02 +01:00
Will McGugan
22a0918eb1
Merge pull request #1684 from willmcgugan/add-file
...
added file
2021-11-13 09:13:24 +00:00
Will McGugan
53372f65db
added file
2021-11-13 09:12:38 +00:00
Will McGugan
e9e4bee4af
Merge pull request #1683 from willmcgugan/fix-infinite-loop
...
fix infinite loop
2021-11-13 09:09:09 +00:00
Will McGugan
3645de66c4
tests for 0 size
2021-11-13 09:07:42 +00:00
Will McGugan
8a74a97563
fix infinite loop
2021-11-13 09:04:12 +00:00
Will McGugan
77158a57ee
another width fix
2021-11-09 16:59:50 +00:00
Will McGugan
a707aedd5e
Merge pull request #1667 from willmcgugan/progress-total
...
new lines fixes
2021-11-09 16:32:54 +00:00
Will McGugan
4cf891315f
Merge pull request #1657 from skshetry/json-indent-type-compat
...
Make indent param in console.print_json compatible to json.dumps' indent
2021-11-09 16:32:15 +00:00
Will McGugan
59d351168e
new lines fixes
2021-11-09 16:30:25 +00:00
Saugat Pachhai (सौगात)
a3f8e0467a
Make indent param in console.print_json compatible to json.dumps indent param
2021-11-07 23:13:47 +05:45
Will McGugan
654f702ab7
remove superfluous test
2021-11-07 16:26:11 +00:00
Will McGugan
ac1a33da17
changelog bump
2021-11-07 16:09:26 +00:00
Will McGugan
c400443a05
Merge pull request #1656 from willmcgugan/pretty-repr-comma
...
fix trailing comma
2021-11-07 16:06:11 +00:00
Will McGugan
7657a8e8f9
fix trailing comma
2021-11-07 15:59:12 +00:00
Will McGugan
4f53dec2fb
Merge pull request #1655 from willmcgugan/word-wrap-codeblock
...
word wrap code blocks
2021-11-07 15:49:02 +00:00
Will McGugan
29b5c93a2d
fix test
2021-11-07 15:42:53 +00:00
Will McGugan
9762a2f116
word wrap code blocks
2021-11-07 15:13:38 +00:00
Will McGugan
fcbeffcfa1
formatting
2021-11-07 15:02:39 +00:00
Will McGugan
b64ee28f5e
Merge pull request #1637 from Carreau/linklinenumber
...
Have logger link to proper file line.
2021-11-07 15:01:23 +00:00
Will McGugan
e53fb31288
Merge pull request #1620 from timsavage/bugfix/handle-errors-writing-log-entry
...
Bugfix/handle errors writing log entry
2021-11-07 10:26:26 +00:00
Will McGugan
a597c0ba2b
Merge pull request #1634 from schneiderfelipe/master
...
Mention the usage of Python's builtin readline module in the documentation
2021-11-07 10:24:01 +00:00
Will McGugan
e3369b005e
Merge pull request #1629 from johnthagen/patch-2
...
Wrap LICENSE file at 80 characters
2021-11-07 10:22:44 +00:00
Will McGugan
dd9c25f0fd
Merge pull request #1631 from willmcgugan/dependabot/pip/types-dataclasses-0.6.1
...
Bump types-dataclasses from 0.1.7 to 0.6.1
2021-11-07 10:21:50 +00:00
Will McGugan
91224ff65d
Merge pull request #1654 from jstvz/no-print_json-truncation
...
Set soft_wrap in console.print json to prevent truncation
2021-11-07 10:16:14 +00:00
James Estevez
07c6733027
Update changelog
2021-11-06 12:47:07 -07:00
Matthias Bussonnier
af9ff73612
fix test with line numbers
2021-11-06 12:12:23 -07:00
James Estevez
3ee35156de
Add soft_wrap=True to print_json
...
This commit adds soft_wrap=True to the invocation of print in
print_json. Without it, values wider than the console's width are
truncated, and the output will not be valid JSON.
2021-11-06 11:51:24 -07:00
James Estevez
316be7bf67
Values exceeding the console's width break print_json
2021-11-06 11:49:33 -07:00
Tim Savage
8704a8329e
Merge branch 'master' into bugfix/handle-errors-writing-log-entry
2021-11-07 00:22:30 +11:00
dependabot[bot]
6f5f9125e7
Bump types-dataclasses from 0.1.7 to 0.6.1
...
Bumps [types-dataclasses](https://github.com/python/typeshed ) from 0.1.7 to 0.6.1.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-dataclasses
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-06 13:07:35 +00:00
Will McGugan
9b42555e26
Merge pull request #1649 from willmcgugan/win-fix
...
legacy windows fix
2021-11-06 12:57:23 +00:00
Will McGugan
ddffdebffb
Merge pull request #1648 from willmcgugan/non-interactive-progress
...
fix for missing newline
2021-11-06 12:43:59 +00:00
Will McGugan
25decd0f4a
legacy windows fix
2021-11-06 12:43:27 +00:00
Will McGugan
a23176f6bd
Merge branch 'master' into non-interactive-progress
2021-11-06 12:39:38 +00:00
Will McGugan
a5840359c4
Merge pull request #1636 from willmcgugan/dependabot/pip/black-21.10b0
...
Bump black from 21.9b0 to 21.10b0
2021-11-06 12:38:53 +00:00
Will McGugan
e6917912c5
Merge pull request #1647 from willmcgugan/ipython-pprint
...
allow disable pprint
2021-11-06 12:38:33 +00:00
Will McGugan
9ba8c70257
fix typing
2021-11-06 12:31:23 +00:00
Will McGugan
f5f67a9ebb
fix for missing newline
2021-11-06 12:27:32 +00:00
Will McGugan
dff665e33c
allow disable pprint
2021-11-06 12:16:21 +00:00
Will McGugan
6e7d81d8c5
Merge pull request #1628 from johnthagen/patch-1
...
Remove extra space in Theme example
2021-11-05 17:07:49 +00:00
Will McGugan
d598f37174
fix line endings
2021-11-05 16:58:04 +00:00
Will McGugan
5f6cec2b7d
Merge pull request #1644 from willmcgugan/json-params
...
Added json.dumps parameters
2021-11-05 11:13:51 +00:00
Will McGugan
5d601fabc3
pass dumps params
2021-11-05 11:09:03 +00:00
Will McGugan
8cf9b684f3
formatting
2021-11-05 10:59:01 +00:00
Will McGugan
856a6edb36
typing
2021-11-05 10:56:46 +00:00
Will McGugan
470a52130b
Added json.dumps parameters
2021-11-05 10:55:10 +00:00
Will McGugan
9ad5191913
Merge pull request #1643 from willmcgugan/fix-detect-color
...
fix detect color
2021-11-05 10:27:43 +00:00
Will McGugan
e1c105b8f0
fix detect color
2021-11-05 10:26:02 +00:00
Matthias Bussonnier
e2b704f203
Have logger link to proper file line.
...
Some terminal emulators like iterm2, support anchoring to the line
number:
https://iterm2.com/documentation-one-page.html see Anchor (OSC 8)
section:
Note: in iTerm2 version 3.4 and later, if the URL has the file scheme and
a # fragment is present then the semantic history rules will apply
for opening the file. It may optionally include a line number, like
file:///tmp/file.txt#123 or line number and column number like
file:///tmp/file.txt#123:45
This update the logic in the logger so that the line number links the
the corresponding file on the same line.
As I'm not sure whether all terminals support that, I let the clik on
the file name point to the file itself w/o line numbers.
And for discoverability and user friendliness the colon itself is
unstyled so that it's easier to discover that click on the filename and
line number are two different targets.
2021-11-01 13:28:28 -07:00