Skip to content

Commit

Permalink
Release 2.0.12 (#171)
Browse files Browse the repository at this point in the history
* 🔖 Bump version to 2.0.12

* 🔧 Force the dir/listening (dataset) with specific order in additionals tests
  • Loading branch information
Ousret authored Feb 12, 2022
1 parent d56ed8c commit a5f4348
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
All notable changes to charset-normalizer will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [2.0.12.dev0](https://github.com/Ousret/charset_normalizer/compare/2.0.11...master) (unreleased)
## [2.0.12](https://github.com/Ousret/charset_normalizer/compare/2.0.11...2.0.12) (2022-02-12)

### Fixed
- Improved ASCII detection (PR #170)
- ASCII miss-detection on rare cases (PR #170)

## [2.0.11](https://github.com/Ousret/charset_normalizer/compare/2.0.10...2.0.11) (2022-01-30)

Expand Down
2 changes: 1 addition & 1 deletion bin/bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def cli_bc(arguments: List[str]):
success_count = 0
total_count = 0

for tbt_path in glob("./char-dataset/**/*.*"):
for tbt_path in sorted(glob("./char-dataset/**/*.*")):
total_count += 1

with open(tbt_path, "rb") as fp:
Expand Down
2 changes: 1 addition & 1 deletion bin/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def cli_coverage(arguments: List[str]):
success_count = 0
total_count = 0

for tbt_path in glob("./char-dataset/**/*.*"):
for tbt_path in sorted(glob("./char-dataset/**/*.*")):

expected_encoding = tbt_path.split(sep)[-2]
total_count += 1
Expand Down
2 changes: 1 addition & 1 deletion bin/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def performance_compare(arguments):
chardet_results = []
charset_normalizer_results = []

for tbt_path in glob("./char-dataset/**/*.*"):
for tbt_path in sorted(glob("./char-dataset/**/*.*")):
print(tbt_path)

# Read Bin file
Expand Down
2 changes: 1 addition & 1 deletion bin/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_file(path):
def read_targets():
return jsonify(
[
el.replace("./char-dataset", "/raw").replace("\\", "/") for el in glob("./char-dataset/**/*")
el.replace("./char-dataset", "/raw").replace("\\", "/") for el in sorted(glob("./char-dataset/**/*"))
]
)

Expand Down
2 changes: 1 addition & 1 deletion charset_normalizer/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Expose version
"""

__version__ = "2.0.12.dev0"
__version__ = "2.0.12"
VERSION = __version__.split(".")

0 comments on commit a5f4348

Please sign in to comment.