From d90b5d3b624e8ecca90d885f4fd4c4ac10a1bf72 Mon Sep 17 00:00:00 2001 From: Ahmed TAHRI Date: Thu, 23 Sep 2021 20:05:02 +0100 Subject: [PATCH] :wrench: Trying to leverage PEP263 when PEP3120 is ignored --- charset_normalizer/__init__.py | 1 + charset_normalizer/assets/__init__.py | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/charset_normalizer/__init__.py b/charset_normalizer/__init__.py index f899bce6..ed525034 100644 --- a/charset_normalizer/__init__.py +++ b/charset_normalizer/__init__.py @@ -1,3 +1,4 @@ +# -*- coding: utf_8 -*- """ Charset-Normalizer ~~~~~~~~~~~~~~ diff --git a/charset_normalizer/assets/__init__.py b/charset_normalizer/assets/__init__.py index 01f2f689..b2e56ff3 100644 --- a/charset_normalizer/assets/__init__.py +++ b/charset_normalizer/assets/__init__.py @@ -1,10 +1,4 @@ -""" -This submodule purpose is to load attached JSON asset. -Will be loaded once per package import / python init. - -The file 'frequencies.json' is mandatory for language/coherence detection. Not having it will weaker considerably -the core detection. -""" +# -*- coding: utf_8 -*- from collections import OrderedDict FREQUENCIES = OrderedDict(