Skip to content

Commit 598cc47

Browse files
committed
Bump version to v0.11.0 for release
1 parent 1b59a9e commit 598cc47

File tree

6 files changed

+41
-41
lines changed

6 files changed

+41
-41
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## [v0.11.0](https://github.com/gagan3012/PolyDeDupe/releases/tag/v0.11.0) - 2023-11-28
11+
1012
## [v0.10.0](https://github.com/gagan3012/PolyDeDupe/releases/tag/v0.10.0) - 2023-11-27
1113

1214
## [v0.9.0](https://github.com/gagan3012/PolyDeDupe/releases/tag/v0.9.0) - 2023-11-27

PolyDeDupe/non_alpha.py

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
import re
2-
3-
NON_ALPHA = re.compile(
4-
"[^"
5-
"\u0080-\u00FF" # Latin-1 Supplement (covers many Western European languages)
6-
"\u0100-\u017F" # Latin Extended-A (Central European, Baltic, etc.)
7-
"\u0180-\u024F" # Latin Extended-B (additional European languages)
8-
"\u1E00-\u1EFF" # Latin Extended Additional (covers Vietnamese, some African languages)
9-
"\u0400-\u04FF" # Cyrillic (covers Russian, Bulgarian, Serbian, etc.)
10-
"\u0370-\u03FF" # Greek and Coptic
11-
"\u1F00-\u1FFF" # Greek Extended
12-
# Including your original ranges
13-
"\u0600-\u06FF" # Arabic
14-
"\u07C0-\u07FF" # N'Ko
15-
"\u0900-\u097F" # Devanagari (Hindi, Marathi, Sanskrit)
16-
"\u1200-\u137F" # Ethiopic (Amharic, Tigrinya)
17-
"\u2D30-\u2D7F" # Tifinagh (Berber languages)
18-
"\uA500-\uA63F" # Vai (West African)
19-
# Additional language ranges
20-
"\u4E00-\u9FFF" # CJK Unified Ideographs (Chinese)
21-
"\uAC00-\uD7AF" # Hangul Syllables (Korean)
22-
"\u3040-\u309F\u30A0-\u30FF" # Hiragana and Katakana (Japanese)
23-
"\u0B80-\u0BFF" # Tamil
24-
"\u0C00-\u0C7F" # Telugu
25-
"\u0C80-\u0CFF" # Kannada
26-
"\u0D00-\u0D7F" # Malayalam
27-
"\u0980-\u09FF" # Bengali
28-
"\u0A00-\u0A7F" # Gurmukhi (Punjabi)
29-
"\u0A80-\u0AFF" # Gujarati
30-
"\u0B00-\u0B7F" # Oriya
31-
"\u0750-\u077F" # Arabic Supplement
32-
"A-Za-z_0-9" # General Latin, numerals, and underscore
33-
"]"
34-
)
1+
import re
2+
3+
NON_ALPHA = re.compile(
4+
"[^"
5+
"\u0080-\u00FF" # Latin-1 Supplement (covers many Western European languages)
6+
"\u0100-\u017F" # Latin Extended-A (Central European, Baltic, etc.)
7+
"\u0180-\u024F" # Latin Extended-B (additional European languages)
8+
"\u1E00-\u1EFF" # Latin Extended Additional (covers Vietnamese, some African languages)
9+
"\u0400-\u04FF" # Cyrillic (covers Russian, Bulgarian, Serbian, etc.)
10+
"\u0370-\u03FF" # Greek and Coptic
11+
"\u1F00-\u1FFF" # Greek Extended
12+
# Including your original ranges
13+
"\u0600-\u06FF" # Arabic
14+
"\u07C0-\u07FF" # N'Ko
15+
"\u0900-\u097F" # Devanagari (Hindi, Marathi, Sanskrit)
16+
"\u1200-\u137F" # Ethiopic (Amharic, Tigrinya)
17+
"\u2D30-\u2D7F" # Tifinagh (Berber languages)
18+
"\uA500-\uA63F" # Vai (West African)
19+
# Additional language ranges
20+
"\u4E00-\u9FFF" # CJK Unified Ideographs (Chinese)
21+
"\uAC00-\uD7AF" # Hangul Syllables (Korean)
22+
"\u3040-\u309F\u30A0-\u30FF" # Hiragana and Katakana (Japanese)
23+
"\u0B80-\u0BFF" # Tamil
24+
"\u0C00-\u0C7F" # Telugu
25+
"\u0C80-\u0CFF" # Kannada
26+
"\u0D00-\u0D7F" # Malayalam
27+
"\u0980-\u09FF" # Bengali
28+
"\u0A00-\u0A7F" # Gurmukhi (Punjabi)
29+
"\u0A80-\u0AFF" # Gujarati
30+
"\u0B00-\u0B7F" # Oriya
31+
"\u0750-\u077F" # Arabic Supplement
32+
"A-Za-z_0-9" # General Latin, numerals, and underscore
33+
"]"
34+
)

PolyDeDupe/polydedupe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22
import multiprocessing as mp
3-
import re
43
from collections import defaultdict
54
from functools import partial
65
from typing import Dict, List, Optional, Set, Tuple, Type

PolyDeDupe/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
_MAJOR = "0"
2-
_MINOR = "10"
2+
_MINOR = "11"
33
# On main and in a nightly release the patch should be one ahead of the last
44
# released build.
55
_PATCH = "0"

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Examples
2-
1+
# Examples
2+

scripts/upgrade_version.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import io
21
# Filename containing the version information
32
filename = 'PolyDeDupe/version.py'
43

54
# Read the current version information
6-
with io.open(filename, 'w', encoding='utf-8') as file:
5+
with open(filename, 'r+', encoding='utf-8') as file:
76
lines = file.readlines()
87

98

@@ -15,5 +14,5 @@
1514
break
1615

1716
# Write the updated version information back to the file
18-
with io.open(filename, 'w', encoding='utf-8') as file:
17+
with open(filename, 'r+', encoding='utf-8') as file:
1918
file.writelines(lines)

0 commit comments

Comments
 (0)