Will McGugan
da186f414c
Merge pull request #1557 from TroyWilliams3687/doc_automatic_traceback
...
Added section `Automatic Traceback Handler` to traceback.rst.
2021-10-15 09:56:37 +01:00
Will McGugan
8cfd988cae
Added link to Italian Readme
2021-10-15 09:54:20 +01:00
Will McGugan
eeacfddca6
Merge pull request #1574 from v0lp3/master
...
docs: add README.it.md
2021-10-15 09:51:17 +01:00
Will McGugan
d17400febd
Merge pull request #1543 from ilitotor/brazilian_pt_readme
...
fix brazilian portuguese readme
2021-10-15 09:50:32 +01:00
akettmann-e24
14e20ecea6
Update CONTRIBUTORS.md
2021-10-14 10:56:38 -05:00
akettmann-e24
2e2884da36
fix return type for Table.expand()
...
return type for `Table.expand()` was `int` should be `bool` based on the type annotation for `expand` argument for `Table.__init__`
2021-10-14 10:48:45 -05:00
GBeauregard
8d07aae761
Support pyright-style literal treatment
...
Not all typecheckers will assume a variable assigned to a literal type
is a literal. In order to maintain the literal type as the code assumes
this needs to be signposted by setting variables as literals.
2021-10-13 17:42:09 -07:00
GBeauregard
69f197c65f
Remove wrong casts a la previous commit
...
There were no new runtime bugs to find here, but they could conceal bugs
in the future. Some type checkers will widen literals when assigning in
an init, so we clarify we keep the self.justify/overflow as the string
literals in order to keep type checking as strict as possible
everywhere.
2021-10-13 12:58:30 -07:00
GBeauregard
6f5ced7db5
Fixed incorrect justify default
...
Changed incorrect DEFAULT_OVERFLOW to DEFAULT_JUSTIFY.
This wasn't caught by mypy because self.justify was incorrectly cast to
a JustifyMethod instead of Optional[JustifyMethod] which made mypy think
the remaining or values could never be evaluated. The cast is unneeded
for mypy so removed it entirely.
2021-10-13 12:48:34 -07:00
Suresh Kumar
2eed45e627
updated comments
2021-10-13 22:19:29 +05:30
Suresh Kumar
998c7dbeaf
added example for export
2021-10-13 22:15:43 +05:30
Laurent Peuch
8a33ce27db
fix a edge case bug when running under pytest
2021-10-13 17:39:30 +02:00
GBeauregard
67ef9a86c0
update CONTRIBUTORS.md
2021-10-12 16:16:33 -07:00
GBeauregard
19961c1a6a
Fix annotation for callable that needed optional
...
This is annotated with Callable[], but it's being assigned a getattr
that could be None. Add Optional to fix the typing. This mistake wasn't
caught by mypy on current release, but it will start causing errors in
the future.
2021-10-12 16:13:16 -07:00
GBeauregard
76a7b89cd8
change lambda with broken typing to def
...
This function is annotated with a Callable[] syntax that works only
because of a bug with attribute methods in the current mypy. In a future
release of mypy this is fixed and this will start throwing an error. If
a lambda is needed the only way to type it correctly would be defining a
protocol and using __call__, but I've opted to replace the lambda with a
def instead since it's much simpler.
2021-10-12 16:11:24 -07:00
v0lp3
7c96a8f9d7
docs: add README.it.md
2021-10-12 18:27:20 +02:00
v0lp3
7de0893964
feat(tree): add hide_root argument
2021-10-12 18:16:51 +02:00
Will McGugan
256697915d
Merge pull request #1538 from avi-perl/fix-unused-import
...
Remove unused import from the `table_movie.py` example
2021-10-12 09:50:37 +01:00
Will McGugan
ef53f4771b
tweaked calendar example
2021-10-10 17:37:26 +01:00
Will McGugan
f68d05c857
Merge pull request #1540 from sureshdsk/calendar-example
...
Added Calendar layout example
2021-10-10 17:08:24 +01:00
Troy Williams
510cec7116
Added section Automatic Traceback Handler
to traceback.rst. It describes a method to automatically install the rich.traceback without having to include the code in your modules.
2021-10-09 09:37:08 -04:00
Will McGugan
18bedc67df
changelog
2021-10-06 14:09:37 +01:00
Will McGugan
cf606f0a3c
changelog, doc fix
2021-10-06 14:07:20 +01:00
dependabot[bot]
3f192d3f58
Bump pytest-cov from 2.12.1 to 3.0.0
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 2.12.1 to 3.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases )
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.12.1...v3.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 13:07:02 +00:00
Will McGugan
0c0a1fff4f
Merge pull request #1548 from willmcgugan/py310update
...
use py310
2021-10-06 14:04:48 +01:00
Will McGugan
b5fc0f8dd8
fix 310 error message
2021-10-06 13:59:05 +01:00
Will McGugan
3da0e79e3c
added skips
2021-10-06 13:55:11 +01:00
Will McGugan
2aa932cf58
fix broken test on py310
2021-10-06 13:51:26 +01:00
Will McGugan
94b008acb9
exception for py3.6
2021-10-06 13:46:03 +01:00
Will McGugan
a2b4a959dc
better handling of dataclasses
2021-10-06 13:41:39 +01:00
Will McGugan
b08be77a69
bump poetry
2021-10-06 09:12:12 +01:00
Will McGugan
a50775e8d2
use py310
2021-10-06 09:07:09 +01:00
Saugat Pachhai (सौगात)
8375ccf289
json: add support for default encoder
2021-10-06 11:29:18 +05:45
0xflotus
ca8a509d08
fix: small error in docs
2021-10-05 23:56:54 +02:00
DSK
c0deb0bcdd
fix run command comment
2021-10-04 21:06:46 +05:30
DSK
86e67b766d
cleanup based on review comments
2021-10-04 21:02:29 +05:30
Ilito Torquato
aab29c8239
correct misspelled words, grammatical errors, translates sentences and removes duplications
2021-10-03 20:47:28 -03:00
Will McGugan
473eac577f
Merge pull request #1539 from avi-perl/fix-misspelled-month-in-readme
...
Fix misspelled month in readme table example
2021-10-03 20:20:55 +01:00
Avrohom Perl
4dc5e0b714
Fix misspelled month in readme table example
2021-10-03 03:38:26 -04:00
DSK
ca4471426a
cleanup: removed default arg for cli
2021-10-03 12:55:24 +05:30
DSK
9b233f49e5
black formatting
2021-10-03 12:47:44 +05:30
DSK
eed7100715
added example for calendar layout using columns and tables
2021-10-03 12:43:08 +05:30
Avrohom Perl
79848f8426
Fix misspelled month in readme table example
2021-10-03 03:03:10 -04:00
Avrohom Perl
544646834a
Remove unused import
2021-10-03 01:07:01 -04:00
Will McGugan
8279a6bf94
Merge pull request #1537 from chan-vince/json-docstring-fix
...
Fix swapped defaults in docstring for json printing
2021-10-02 13:46:25 +01:00
Vince Chan
4976c939af
Fix swapped defaults in docstring for json printing
2021-10-02 13:43:08 +01:00
Will McGugan
edec73c074
Added Python versions badge
...
And rearranged badges a little.
Translators: This is not a substantial change. Might not be worth doing right now.
2021-09-24 13:56:37 +01:00
Will McGugan
550d391171
docs
2021-09-24 10:02:56 +01:00
Will McGugan
cb8aeba1fd
Merge pull request #1519 from willmcgugan/suppress-frames
...
Suppress frames and max_frames
2021-09-24 10:00:25 +01:00
Will McGugan
b82d75671c
docs
2021-09-24 09:56:05 +01:00