diff --git a/.travis.yml b/.travis.yml index 4323d4b..eb5329d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ python: env: - DJANGO_VERSION: "'Django~=1.11'" - - DJANGO_VERSION: "'Django~=2.0'" - DJANGO_VERSION: "'Django~=2.1'" - DJANGO_VERSION: "'Django~=2.2'" diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be9cdb..74d2ec4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Improvements: - Adds `mypy` support - Adds `wemake-python-styleguide` support - Adds extra CI checks: `safety`, `doc8` +- Adds `py.typed` file to package type information ## 0.3.1 diff --git a/pyproject.toml b/pyproject.toml index 08414b8..3f1be3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,6 @@ classifiers = [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", - "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", diff --git a/split_settings/py.typed b/split_settings/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/split_settings/tools.py b/split_settings/tools.py index 5e220be..967e9ba 100644 --- a/split_settings/tools.py +++ b/split_settings/tools.py @@ -19,7 +19,7 @@ _INCLUDED_FILE = '__included_file__' -def optional(filename): +def optional(filename: str) -> str: """ This functions is used for compatibility reasons. @@ -43,7 +43,7 @@ class _Optional(str): # noqa: WPS600 """ -def include(*args, **kwargs): # noqa: WPS210, C901 +def include(*args: str, **kwargs) -> None: # noqa: WPS210, C901 """ Used for including Django project settings from multiple files.