1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
[run]
source =
charset_normalizer
# Needed for Python 3.11 and lower
disable_warnings = no-sysmon
[paths]
source =
src/charset_normalizer
*/charset_normalizer
*\charset_normalizer
[report]
omit =
src/charset_normalizer/__main__.py
exclude_lines =
except ModuleNotFoundError:
except ImportError:
pass
import
raise NotImplementedError
.* # Platform-specific.*
.*:.* # Python \d.*
.* # Abstract
.* # Defensive:
if (?:typing.)?TYPE_CHECKING:
^\s*?\.\.\.\s*$
|