Update vendored guessit to 3.1.1

Updates python-dateutil to 2.8.2
Updates rebulk to 2.0.1
This commit is contained in:
Labrys of Knossos 2022-11-28 19:44:46 -05:00
commit 2226a74ef8
66 changed files with 2995 additions and 1306 deletions

View file

@ -128,7 +128,7 @@ class ConfigurationException(Exception):
"""
Exception related to configuration file.
"""
pass
pass # pylint:disable=unnecessary-pass
def load_config(options):
@ -153,7 +153,7 @@ def load_config(options):
cwd = os.getcwd()
yaml_supported = False
try:
import yaml # pylint: disable=unused-variable
import yaml # pylint:disable=unused-variable,unused-import
yaml_supported = True
except ImportError:
pass
@ -252,7 +252,7 @@ def load_config_file(filepath):
try:
import yaml
with open(filepath) as config_file_data:
return yaml.load(config_file_data)
return yaml.load(config_file_data, yaml.SafeLoader)
except ImportError: # pragma: no cover
raise ConfigurationException('Configuration file extension is not supported. '
'PyYAML should be installed to support "%s" file' % (