wcwidth 0.2.8__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wcwidth-0.3.4/.gitignore +18 -0
- wcwidth-0.3.4/.pylintrc +57 -0
- wcwidth-0.3.4/PKG-INFO +706 -0
- wcwidth-0.3.4/README.rst +1 -0
- wcwidth-0.3.4/bin/update-tables.py +1100 -0
- wcwidth-0.3.4/bin/verify-table-integrity.py +129 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/bin/wcwidth-browser.py +383 -54
- {wcwidth-0.2.8 → wcwidth-0.3.4}/bin/wcwidth-libc-comparator.py +5 -19
- wcwidth-0.3.4/code_templates/grapheme_table.py.j2 +20 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/code_templates/python_table.py.j2 +2 -1
- {wcwidth-0.2.8 → wcwidth-0.3.4}/code_templates/unicode_versions.py.j2 +3 -2
- wcwidth-0.3.4/docs/api.rst +33 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/docs/conf.py +6 -4
- {wcwidth-0.2.8 → wcwidth-0.3.4}/docs/index.rst +1 -0
- wcwidth-0.3.4/docs/intro.rst +676 -0
- wcwidth-0.3.4/docs/requirements.txt +60 -0
- wcwidth-0.3.4/docs/specs.rst +87 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/docs/unicode_version.rst +33 -0
- wcwidth-0.3.4/pyproject.toml +72 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/requirements-develop.txt +0 -1
- {wcwidth-0.2.8 → wcwidth-0.3.4}/requirements-docs.in +1 -1
- wcwidth-0.3.4/requirements-tests38.in +5 -0
- wcwidth-0.3.4/requirements-tests38.txt +32 -0
- wcwidth-0.3.4/requirements-tests39.in +8 -0
- wcwidth-0.3.4/requirements-tests39.txt +58 -0
- wcwidth-0.3.4/requirements-update.txt +27 -0
- wcwidth-0.3.4/tests/GraphemeBreakTest.txt +796 -0
- wcwidth-0.3.4/tests/__init__.py +1 -0
- wcwidth-0.3.4/tests/conftest.py +15 -0
- wcwidth-0.3.4/tests/emoji-variation-sequences.txt +757 -0
- wcwidth-0.3.4/tests/emoji-zwj-sequences.txt +1529 -0
- wcwidth-0.3.4/tests/test_ambiguous.py +80 -0
- wcwidth-0.3.4/tests/test_benchmarks.py +219 -0
- wcwidth-0.3.4/tests/test_clip.py +223 -0
- wcwidth-0.3.4/tests/test_core.py +424 -0
- wcwidth-0.3.4/tests/test_emojis.py +221 -0
- wcwidth-0.3.4/tests/test_grapheme.py +146 -0
- wcwidth-0.3.4/tests/test_justify.py +63 -0
- wcwidth-0.3.4/tests/test_table_integrity.py +16 -0
- wcwidth-0.3.4/tests/test_textwrap.py +264 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/tests/test_ucslevel.py +16 -9
- wcwidth-0.3.4/tests/test_width.py +439 -0
- wcwidth-0.3.4/tests/udhr_combined.txt +2587 -0
- wcwidth-0.3.4/tox.ini +236 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/wcwidth/__init__.py +19 -6
- wcwidth-0.3.4/wcwidth/bisearch.py +29 -0
- wcwidth-0.3.4/wcwidth/control_codes.py +46 -0
- wcwidth-0.3.4/wcwidth/escape_sequences.py +69 -0
- wcwidth-0.3.4/wcwidth/grapheme.py +306 -0
- wcwidth-0.3.4/wcwidth/table_ambiguous.py +189 -0
- wcwidth-0.3.4/wcwidth/table_grapheme.py +2126 -0
- wcwidth-0.3.4/wcwidth/table_vs16.py +126 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/wcwidth/table_wide.py +380 -88
- wcwidth-0.3.4/wcwidth/table_zero.py +5498 -0
- wcwidth-0.3.4/wcwidth/textwrap.py +391 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/wcwidth/unicode_versions.py +6 -3
- wcwidth-0.3.4/wcwidth/wcwidth.py +881 -0
- wcwidth-0.2.8/MANIFEST.in +0 -6
- wcwidth-0.2.8/PKG-INFO +0 -383
- wcwidth-0.2.8/README.rst +0 -352
- wcwidth-0.2.8/bin/update-tables.py +0 -447
- wcwidth-0.2.8/docs/api.rst +0 -34
- wcwidth-0.2.8/docs/intro.rst +0 -352
- wcwidth-0.2.8/docs/requirements.txt +0 -57
- wcwidth-0.2.8/requirements-tests36.txt +0 -41
- wcwidth-0.2.8/requirements-tests37.in +0 -5
- wcwidth-0.2.8/requirements-tests37.txt +0 -40
- wcwidth-0.2.8/requirements-tests39.in +0 -15
- wcwidth-0.2.8/requirements-tests39.txt +0 -97
- wcwidth-0.2.8/requirements-update.txt +0 -26
- wcwidth-0.2.8/setup.cfg +0 -7
- wcwidth-0.2.8/setup.py +0 -102
- wcwidth-0.2.8/tests/test_core.py +0 -158
- wcwidth-0.2.8/tox.ini +0 -191
- wcwidth-0.2.8/wcwidth/table_zero.py +0 -4947
- wcwidth-0.2.8/wcwidth/wcwidth.py +0 -380
- wcwidth-0.2.8/wcwidth.egg-info/PKG-INFO +0 -383
- wcwidth-0.2.8/wcwidth.egg-info/SOURCES.txt +0 -42
- wcwidth-0.2.8/wcwidth.egg-info/dependency_links.txt +0 -1
- wcwidth-0.2.8/wcwidth.egg-info/requires.txt +0 -3
- wcwidth-0.2.8/wcwidth.egg-info/top_level.txt +0 -1
- wcwidth-0.2.8/wcwidth.egg-info/zip-safe +0 -1
- {wcwidth-0.2.8 → wcwidth-0.3.4}/LICENSE +0 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/bin/new-wide-by-version.py +0 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/code_templates/unicode_version.rst.j2 +0 -0
- {wcwidth-0.2.8 → wcwidth-0.3.4}/requirements-update.in +0 -0
- /wcwidth-0.2.8/code_templates/python_table_width.py.j2 → /wcwidth-0.3.4/wcwidth/py.typed +0 -0
wcwidth-0.3.4/.gitignore
ADDED
wcwidth-0.3.4/.pylintrc
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[MASTER]
|
|
2
|
+
load-plugins=
|
|
3
|
+
pylint.extensions.mccabe,
|
|
4
|
+
pylint.extensions.check_elif,
|
|
5
|
+
pylint.extensions.docparams,
|
|
6
|
+
pylint.extensions.overlapping_exceptions,
|
|
7
|
+
pylint.extensions.redefined_variable_type
|
|
8
|
+
|
|
9
|
+
persistent = no
|
|
10
|
+
jobs = 0
|
|
11
|
+
unsafe-load-any-extension = yes
|
|
12
|
+
good-names = wc,fp
|
|
13
|
+
|
|
14
|
+
[MESSAGES CONTROL]
|
|
15
|
+
disable=
|
|
16
|
+
I,
|
|
17
|
+
fixme,
|
|
18
|
+
c-extension-no-member,
|
|
19
|
+
ungrouped-imports,
|
|
20
|
+
useless-object-inheritance,
|
|
21
|
+
missing-yield-type-doc,
|
|
22
|
+
missing-yield-doc,
|
|
23
|
+
too-many-lines,
|
|
24
|
+
inconsistent-return-statements,
|
|
25
|
+
too-many-return-statements,
|
|
26
|
+
too-many-boolean-expressions,
|
|
27
|
+
redundant-u-string-prefix,
|
|
28
|
+
consider-using-f-string,
|
|
29
|
+
|
|
30
|
+
[FORMAT]
|
|
31
|
+
max-line-length: 100
|
|
32
|
+
|
|
33
|
+
[PARAMETER_DOCUMENTATION]
|
|
34
|
+
default-docstring-type=sphinx
|
|
35
|
+
accept-no-raise-doc=no
|
|
36
|
+
accept-no-param-doc=yes
|
|
37
|
+
accept-no-return-doc=yes
|
|
38
|
+
|
|
39
|
+
[DESIGN]
|
|
40
|
+
max-args=10
|
|
41
|
+
max-attributes=7
|
|
42
|
+
max-branches=12
|
|
43
|
+
max-complexity=13
|
|
44
|
+
max-locals=15
|
|
45
|
+
max-module-lines=1300
|
|
46
|
+
max-parents=7
|
|
47
|
+
max-public-methods=20
|
|
48
|
+
max-returns=6
|
|
49
|
+
max-statements=50
|
|
50
|
+
|
|
51
|
+
[SIMILARITIES]
|
|
52
|
+
ignore-imports=yes
|
|
53
|
+
min-similarity-lines=8
|
|
54
|
+
|
|
55
|
+
[REPORTS]
|
|
56
|
+
reports=no
|
|
57
|
+
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
|