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.
Files changed (87) hide show
  1. wcwidth-0.3.4/.gitignore +18 -0
  2. wcwidth-0.3.4/.pylintrc +57 -0
  3. wcwidth-0.3.4/PKG-INFO +706 -0
  4. wcwidth-0.3.4/README.rst +1 -0
  5. wcwidth-0.3.4/bin/update-tables.py +1100 -0
  6. wcwidth-0.3.4/bin/verify-table-integrity.py +129 -0
  7. {wcwidth-0.2.8 → wcwidth-0.3.4}/bin/wcwidth-browser.py +383 -54
  8. {wcwidth-0.2.8 → wcwidth-0.3.4}/bin/wcwidth-libc-comparator.py +5 -19
  9. wcwidth-0.3.4/code_templates/grapheme_table.py.j2 +20 -0
  10. {wcwidth-0.2.8 → wcwidth-0.3.4}/code_templates/python_table.py.j2 +2 -1
  11. {wcwidth-0.2.8 → wcwidth-0.3.4}/code_templates/unicode_versions.py.j2 +3 -2
  12. wcwidth-0.3.4/docs/api.rst +33 -0
  13. {wcwidth-0.2.8 → wcwidth-0.3.4}/docs/conf.py +6 -4
  14. {wcwidth-0.2.8 → wcwidth-0.3.4}/docs/index.rst +1 -0
  15. wcwidth-0.3.4/docs/intro.rst +676 -0
  16. wcwidth-0.3.4/docs/requirements.txt +60 -0
  17. wcwidth-0.3.4/docs/specs.rst +87 -0
  18. {wcwidth-0.2.8 → wcwidth-0.3.4}/docs/unicode_version.rst +33 -0
  19. wcwidth-0.3.4/pyproject.toml +72 -0
  20. {wcwidth-0.2.8 → wcwidth-0.3.4}/requirements-develop.txt +0 -1
  21. {wcwidth-0.2.8 → wcwidth-0.3.4}/requirements-docs.in +1 -1
  22. wcwidth-0.3.4/requirements-tests38.in +5 -0
  23. wcwidth-0.3.4/requirements-tests38.txt +32 -0
  24. wcwidth-0.3.4/requirements-tests39.in +8 -0
  25. wcwidth-0.3.4/requirements-tests39.txt +58 -0
  26. wcwidth-0.3.4/requirements-update.txt +27 -0
  27. wcwidth-0.3.4/tests/GraphemeBreakTest.txt +796 -0
  28. wcwidth-0.3.4/tests/__init__.py +1 -0
  29. wcwidth-0.3.4/tests/conftest.py +15 -0
  30. wcwidth-0.3.4/tests/emoji-variation-sequences.txt +757 -0
  31. wcwidth-0.3.4/tests/emoji-zwj-sequences.txt +1529 -0
  32. wcwidth-0.3.4/tests/test_ambiguous.py +80 -0
  33. wcwidth-0.3.4/tests/test_benchmarks.py +219 -0
  34. wcwidth-0.3.4/tests/test_clip.py +223 -0
  35. wcwidth-0.3.4/tests/test_core.py +424 -0
  36. wcwidth-0.3.4/tests/test_emojis.py +221 -0
  37. wcwidth-0.3.4/tests/test_grapheme.py +146 -0
  38. wcwidth-0.3.4/tests/test_justify.py +63 -0
  39. wcwidth-0.3.4/tests/test_table_integrity.py +16 -0
  40. wcwidth-0.3.4/tests/test_textwrap.py +264 -0
  41. {wcwidth-0.2.8 → wcwidth-0.3.4}/tests/test_ucslevel.py +16 -9
  42. wcwidth-0.3.4/tests/test_width.py +439 -0
  43. wcwidth-0.3.4/tests/udhr_combined.txt +2587 -0
  44. wcwidth-0.3.4/tox.ini +236 -0
  45. {wcwidth-0.2.8 → wcwidth-0.3.4}/wcwidth/__init__.py +19 -6
  46. wcwidth-0.3.4/wcwidth/bisearch.py +29 -0
  47. wcwidth-0.3.4/wcwidth/control_codes.py +46 -0
  48. wcwidth-0.3.4/wcwidth/escape_sequences.py +69 -0
  49. wcwidth-0.3.4/wcwidth/grapheme.py +306 -0
  50. wcwidth-0.3.4/wcwidth/table_ambiguous.py +189 -0
  51. wcwidth-0.3.4/wcwidth/table_grapheme.py +2126 -0
  52. wcwidth-0.3.4/wcwidth/table_vs16.py +126 -0
  53. {wcwidth-0.2.8 → wcwidth-0.3.4}/wcwidth/table_wide.py +380 -88
  54. wcwidth-0.3.4/wcwidth/table_zero.py +5498 -0
  55. wcwidth-0.3.4/wcwidth/textwrap.py +391 -0
  56. {wcwidth-0.2.8 → wcwidth-0.3.4}/wcwidth/unicode_versions.py +6 -3
  57. wcwidth-0.3.4/wcwidth/wcwidth.py +881 -0
  58. wcwidth-0.2.8/MANIFEST.in +0 -6
  59. wcwidth-0.2.8/PKG-INFO +0 -383
  60. wcwidth-0.2.8/README.rst +0 -352
  61. wcwidth-0.2.8/bin/update-tables.py +0 -447
  62. wcwidth-0.2.8/docs/api.rst +0 -34
  63. wcwidth-0.2.8/docs/intro.rst +0 -352
  64. wcwidth-0.2.8/docs/requirements.txt +0 -57
  65. wcwidth-0.2.8/requirements-tests36.txt +0 -41
  66. wcwidth-0.2.8/requirements-tests37.in +0 -5
  67. wcwidth-0.2.8/requirements-tests37.txt +0 -40
  68. wcwidth-0.2.8/requirements-tests39.in +0 -15
  69. wcwidth-0.2.8/requirements-tests39.txt +0 -97
  70. wcwidth-0.2.8/requirements-update.txt +0 -26
  71. wcwidth-0.2.8/setup.cfg +0 -7
  72. wcwidth-0.2.8/setup.py +0 -102
  73. wcwidth-0.2.8/tests/test_core.py +0 -158
  74. wcwidth-0.2.8/tox.ini +0 -191
  75. wcwidth-0.2.8/wcwidth/table_zero.py +0 -4947
  76. wcwidth-0.2.8/wcwidth/wcwidth.py +0 -380
  77. wcwidth-0.2.8/wcwidth.egg-info/PKG-INFO +0 -383
  78. wcwidth-0.2.8/wcwidth.egg-info/SOURCES.txt +0 -42
  79. wcwidth-0.2.8/wcwidth.egg-info/dependency_links.txt +0 -1
  80. wcwidth-0.2.8/wcwidth.egg-info/requires.txt +0 -3
  81. wcwidth-0.2.8/wcwidth.egg-info/top_level.txt +0 -1
  82. wcwidth-0.2.8/wcwidth.egg-info/zip-safe +0 -1
  83. {wcwidth-0.2.8 → wcwidth-0.3.4}/LICENSE +0 -0
  84. {wcwidth-0.2.8 → wcwidth-0.3.4}/bin/new-wide-by-version.py +0 -0
  85. {wcwidth-0.2.8 → wcwidth-0.3.4}/code_templates/unicode_version.rst.j2 +0 -0
  86. {wcwidth-0.2.8 → wcwidth-0.3.4}/requirements-update.in +0 -0
  87. /wcwidth-0.2.8/code_templates/python_table_width.py.j2 → /wcwidth-0.3.4/wcwidth/py.typed +0 -0
@@ -0,0 +1,18 @@
1
+ __pycache__
2
+ .coverage
3
+ .cache
4
+ .tox
5
+ *.egg-info
6
+ *.egg
7
+ *.pyc
8
+ *.swp
9
+ build
10
+ dist
11
+ docs/_build
12
+ htmlcov
13
+ .coveralls.yml
14
+ data
15
+ .DS_Store
16
+ .idea
17
+ .python-version
18
+
@@ -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}