Browse Source

Release 2.0.12 (#171)

* 🔖 Bump version to 2.0.12

* 🔧 Force the dir/listening (dataset) with specific order in additionals tests
pull/172/head 2.0.12
TAHRI Ahmed R 5 months ago committed by GitHub
parent
commit
a5f4348490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      bin/bc.py
  3. 2
      bin/coverage.py
  4. 2
      bin/performance.py
  5. 2
      bin/serve.py
  6. 2
      charset_normalizer/version.py

4
CHANGELOG.md

@ -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)

2
bin/bc.py

@ -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:

2
bin/coverage.py

@ -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

2
bin/performance.py

@ -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

2
bin/serve.py

@ -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/**/*"))
]
)

2
charset_normalizer/version.py

@ -2,5 +2,5 @@
Expose version
"""
__version__ = "2.0.12.dev0"
__version__ = "2.0.12"
VERSION = __version__.split(".")

Loading…
Cancel
Save