File tree Expand file tree Collapse file tree 4 files changed +16
-11
lines changed
Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 2222 final ,
2323)
2424
25- import pyunormalize ._unicode as unicode
2625from pyunormalize import (
26+ _unicode_data ,
2727 normalization ,
2828)
2929
3333
3434# Constants vendored from pyunormalize
3535
36- _NFC__QC_NO_OR_MAYBE : Final = unicode ._NFC__QC_NO_OR_MAYBE
37- _NFD__QC_NO : Final = unicode ._NFD__QC_NO
38- _NON_ZERO_CCC_TABLE : Final = unicode ._NON_ZERO_CCC_TABLE
39- _COMPOSITION_EXCLUSIONS : Final = unicode ._COMPOSITION_EXCLUSIONS
36+ _NFC__QC_NO_OR_MAYBE : Final = _unicode_data ._NFC__QC_NO_OR_MAYBE
37+ _NFD__QC_NO : Final = _unicode_data ._NFD__QC_NO
38+ _NON_ZERO_CCC_TABLE : Final = _unicode_data ._NON_ZERO_CCC_TABLE
39+ _COMPOSITION_EXCLUSIONS : Final = _unicode_data ._COMPOSITION_EXCLUSIONS
4040_COMPOSITE_BY_CDECOMP : Final [Dict [Tuple [int , Optional [int ]], int ]] = normalization ._COMPOSITE_BY_CDECOMP
4141_FULL_CDECOMP_BY_CHAR : Final [Dict [int , List [int ]]] = normalization ._FULL_CDECOMP_BY_CHAR
4242_LB : Final = normalization ._LB
Original file line number Diff line number Diff line change 1+ from typing import (
2+ Final ,
3+ )
4+
15from faster_web3 ._utils .events import (
26 EventLogErrorFlags ,
37)
48
5- DISCARD = EventLogErrorFlags .Discard
6- IGNORE = EventLogErrorFlags .Ignore
7- STRICT = EventLogErrorFlags .Strict
8- WARN = EventLogErrorFlags .Warn
9+ DISCARD : Final = EventLogErrorFlags .Discard
10+ IGNORE : Final = EventLogErrorFlags .Ignore
11+ STRICT : Final = EventLogErrorFlags .Strict
12+ WARN : Final = EventLogErrorFlags .Warn
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ requires = [
1111 " faster-eth-abi>=5.2,<5.3; platform_system != 'Linux' or python_version != '3.14' or platform_machine != 'i686'" ,
1212 " faster-hexbytes<3" ,
1313 " py-geth>=5.1.0" ,
14- " pyunormalize>=15 .0.0" ,
14+ " pyunormalize>=17 .0.0" ,
1515]
1616
1717[tool .autoflake ]
Original file line number Diff line number Diff line change 9898 "faster_web3/constants.py" ,
9999 "faster_web3/contract/utils.py" ,
100100 "faster_web3/gas_strategies" ,
101+ "faster_web3/logs.py" ,
101102 "faster_web3/providers/eth_tester" ,
102103 "faster_web3/providers/persistent/persistent_connection.py" ,
103104 "faster_web3/providers/persistent/request_processor.py" ,
205206 "typing-extensions>=4.0.1" ,
206207 "types-requests>=2.0.0" ,
207208 "websockets>=10.0.0,<16.0.0" ,
208- "pyunormalize>=15 .0.0" ,
209+ "pyunormalize>=17 .0.0" ,
209210 ],
210211 python_requires = ">=3.9, <4" ,
211212 extras_require = extras_require ,
You can’t perform that action at this time.
0 commit comments