diff options
author | Maxim Kurnikov <maxim.kurnikov@gmail.com> | 2019-04-26 10:45:43 +0300 |
---|---|---|
committer | Maxim Kurnikov <maxim.kurnikov@gmail.com> | 2019-04-26 10:45:43 +0300 |
commit | 7565116c8b326757d13582af788464e1a26994a6 (patch) | |
tree | 7a052779d81f9790e7daa0245974814056c91740 /isort/compat.py | |
parent | b8c2f922aadbd23be8f543ead7a826214d04b9c7 (diff) | |
download | isort-7565116c8b326757d13582af788464e1a26994a6.tar.gz |
add strict_optional = True for some files
Diffstat (limited to 'isort/compat.py')
-rw-r--r-- | isort/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/compat.py b/isort/compat.py index 6ea27d90..d3ea4ced 100644 --- a/isort/compat.py +++ b/isort/compat.py @@ -42,7 +42,7 @@ def read_file_contents(file_path: str, encoding: str, fallback_encoding: str) -> return None, None -def get_settings_path(settings_path: Optional[str], current_file_path: str) -> str: +def get_settings_path(settings_path: Optional[str], current_file_path: Optional[str]) -> str: if settings_path: return settings_path |