Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a new jinja2 templating process to update library to latest unicode (14.0) #61

Merged
merged 59 commits into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
9192fdd
use jinja2 for code generation,
jquast Nov 15, 2021
c03d1b5
add code templates for python
jquast Nov 15, 2021
cd98f5e
narf
jquast Nov 15, 2021
102e57e
narf
jquast Nov 15, 2021
7b73991
small comment
jquast Mar 20, 2022
ef33e1d
v14 support
jquast Mar 20, 2022
2e12375
complete using jinja2 for code generation
jquast Mar 20, 2022
ad07e2d
use pip-compile & python3.10 for development
jquast Mar 20, 2022
6d4fa36
lint
jquast Mar 20, 2022
589ebc5
isort added these, fine enough
jquast Mar 20, 2022
3f9ee7b
small small linting/whitespace kill changes
jquast Mar 20, 2022
b5739e4
small linting
jquast Mar 20, 2022
47b1969
use https, remove extra whitespace
jquast Mar 20, 2022
3799a0b
isort did this
jquast Mar 20, 2022
df0d5a9
small tox and linting updates
jquast Mar 20, 2022
329ee16
use result of pip-compile
jquast Mar 20, 2022
72f780e
use older dependencies to support python3.6
jquast Mar 20, 2022
02c1bb7
lint
jquast Mar 20, 2022
8934085
remove older options for python3.6
jquast Mar 20, 2022
85cb100
seperate test requirements,<=python3.8,>=python3.9
jquast Mar 20, 2022
75a93df
split requirements versions
jquast Mar 20, 2022
11216b6
split requirements version
jquast Mar 20, 2022
0e5718e
ignore pycharm
jquast Mar 20, 2022
b0dad96
bugfix in codegen
jquast Mar 20, 2022
bbe041b
yarr
jquast Mar 20, 2022
b1276fa
Remove duplicated comment
GalaxySnail Mar 21, 2022
1d11648
Remove python2 compat code for `bin/update-tables.py`
GalaxySnail Mar 5, 2022
48adfb2
Introduce dataclasses and type hints
GalaxySnail Mar 21, 2022
bf62499
Move `logging.basicConfig` to the main function
GalaxySnail Mar 21, 2022
a97204c
Rewrite table parsing logic
GalaxySnail Mar 21, 2022
de0a3cd
Modify `cite_source_description`
GalaxySnail Mar 21, 2022
8fbdf02
Add some type hints
GalaxySnail Mar 21, 2022
e8771c4
Use regex instead of glob
GalaxySnail Mar 6, 2022
70d45e5
Make sure `THIS_FILENAME` is seperated bt `/` on Windows
GalaxySnail Mar 21, 2022
c161f92
Rewrite template rendering by dataclasses
GalaxySnail Mar 21, 2022
5e4ae4a
prepare 0.2.6 for release, document 0.2.5
jquast Jun 22, 2022
0a7a83f
remove 'tenacity', use requests retry handler
jquast Jan 13, 2023
72109be
small fix of keywords in setup.py
jquast Jan 13, 2023
a28f45c
fix combining in wcwidth-browser
jquast Jan 13, 2023
a2dc0c9
use '--check-last-modified' in 'tox -e update'
jquast Jan 13, 2023
c6210ea
Update latest unicode to to version 15.0
jquast Jan 13, 2023
c3c9753
add 15.0.0 to release notes
jquast Jan 13, 2023
7151661
small fixes to browser
jquast Jan 14, 2023
70b68ea
update release date
jquast Jan 14, 2023
15acf3d
small fixes
jquast Jan 14, 2023
71675bd
lint/style changes
jquast Jan 14, 2023
2fe4983
spellfixes by @kianmeng in #65
jquast Jan 14, 2023
ceb51e5
Merge remote-tracking branch 'origin/master' into use-jinja
jquast Jan 14, 2023
e05f925
Reuse requests.Session
GalaxySnail Jan 14, 2023
22e8955
Add `--debug` option
GalaxySnail Jan 14, 2023
5afb684
Always use LF for generated files
GalaxySnail Jan 14, 2023
118d968
Update comments with Python 3.11 unicodedata
GalaxySnail Jan 14, 2023
f9076b8
Add more type hints for `mypy --strict`
GalaxySnail Jan 14, 2023
375f475
Set MAX_RETRIES to 6
GalaxySnail Jan 15, 2023
793bc92
updates pylint & friends for python3.11-compatible requirements
jquast Jan 15, 2023
3cf9c91
change retries 10 -> 6
jquast Jan 15, 2023
1180fa1
python3.11 in tox.ini
jquast Jan 15, 2023
bfdf76b
ignore isort comment rewrite in test_core.py
jquast Jan 15, 2023
b8cefaa
Merge branch 'use-jinja' of github.com:jquast/wcwidth into use-jinja
jquast Jan 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ htmlcov
.coveralls.yml
data
.DS_Store
.idea
4 changes: 3 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ disable=
too-many-lines,
inconsistent-return-statements,
too-many-return-statements,
too-many-boolean-expressions
too-many-boolean-expressions,
redundant-u-string-prefix,
consider-using-f-string,

[FORMAT]
max-line-length: 100
Expand Down
5 changes: 0 additions & 5 deletions .python-version

This file was deleted.

4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include LICENSE *.rst
recursive-include tests *.py
include LICENSE
recursive-include *.py *.j2 *.rst
9 changes: 5 additions & 4 deletions bin/new-wide-by-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@
...

Means that chr(12752) through chr(12754) are new WIDE values
for Unicode vesion 5.0.0, and were not WIDE values for the
for Unicode version 5.0.0, and were not WIDE values for the
previous version (4.1.0).
"""
# std imports
import sys
import json

# local
from wcwidth import WIDE_EASTASIAN, _bisearch


# List new WIDE characters at each unicode version.
#
def main():
from wcwidth import WIDE_EASTASIAN, _bisearch
"""List new WIDE characters at each unicode version."""
versions = list(WIDE_EASTASIAN.keys())
results = {}
for version in versions:
Expand Down
42 changes: 0 additions & 42 deletions bin/run_codecov.py

This file was deleted.

Loading