Skip to content
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# version is used.
sys.path.insert(0, project_root)

import dateparser
import dateparser # noqa: E402

# -- General configuration ---------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
open('dateparser/__init__.py').read()).group(1)

introduction = re.sub(r':members:.+|..\sautomodule::.+|:class:|:func:|:ref:',
'', open('docs/introduction.rst').read())
history = re.sub(r':mod:|:class:|:func:', '', open('HISTORY.rst').read())
'', open('docs/introduction.rst', encoding="utf8").read())
history = re.sub(r':mod:|:class:|:func:', '', open('HISTORY.rst', encoding="utf8").read())

test_requirements = open('tests/requirements.txt').read().splitlines()

Expand Down