We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In isort panel:
isort - --profile black --line-length 99 --skip-gitignore --show-config --check --filename /../../../..path_to_py_file.py CWD Formatter: /home/buda/code/py/projectdir
If I comment out settings.json then I get additional:
isort - --profile black --line-length 99 --skip-gitignore --show-config --check --filename /../../../..path_to_py_file.py CWD Formatter: /home/buda/code/py/projectdir CWD Format Server: /home/buda/code/py/projectdir sys.path used to run Formatter: /home/buda/.vscode/extensions/ms-python.isort-2022.3.11671003/bundled/formatter /usr/lib/python310.zip /usr/lib/python3.10 /usr/lib/python3.10/lib-dynload /home/buda/.local/lib/python3.10/site-packages /usr/lib/python3.10/site-packages /home/buda/.vscode/extensions/ms-python.isort-2022.3.11671003/bundled/libs Settings used to run Formatter: [ { "workspace": "file:///home/buda/code/py/projectdir", "trace": "error", "args": [], "severity": {}, "path": [], "interpreter": [ "/bin/python" ] } ]
If I run isort --show-config in terminal
isort --show-config
{ "_known_patterns": null, "_section_comments": null, "_section_comments_end": null, "_skips": null, "_skip_globs": null, "_sorting_function": null, "py_version": "py3", "force_to_top": [], "skip": [ "dist", "build", ".direnv", ".bzr", ".mypy_cache", "_build", ".pants.d", ".nox", ".eggs", "buck-out", "node_modules", ".git", ".hg", ".venv", "__pypackages__", ".tox", ".svn", "venv" ], "extend_skip": [], "skip_glob": [], "extend_skip_glob": [], "skip_gitignore": false, "line_length": 79, "wrap_length": 0, "line_ending": "", "sections": [ "FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER" ], "no_sections": false, "known_future_library": [ "__future__" ], "known_third_party": [], "known_first_party": [], "known_local_folder": [], "known_standard_library": [ "numbers", "zipapp", "locale", "configparser", "smtpd", "binascii", "calendar", "code", "subprocess", "binhex", "ntpath", "compileall", "rlcompleter", "cmath", "importlib", "signal", "turtle", "sunau", "time", "_thread", "errno", "msvcrt", "netrc", "syslog", "aifc", "formatter", "json", "imghdr", "sched", "xdrlib", "sre_parse", "ossaudiodev", "dummy_threading", "lib2to3", "readline", "token", "io", "fpectl", "logging", "socketserver", "platform", "plistlib", "datetime", "heapq", "argparse", "sre_compile", "traceback", "decimal", "bdb", "parser", "builtins", "html", "distutils", "_ast", "dataclasses", "sqlite3", "codeop", "py_compile", "os", "winreg", "tempfile", "array", "sre", "stat", "encodings", "keyword", "colorsys", "concurrent", "runpy", "graphlib", "pyclbr", "random", "sndhdr", "tty", "cgitb", "symtable", "curses", "sys", "termios", "telnetlib", "macpath", "tkinter", "contextlib", "mailcap", "trace", "fileinput", "zlib", "asyncore", "gettext", "ctypes", "multiprocessing", "threading", "http", "profile", "pathlib", "base64", "select", "math", "grp", "pdb", "tabnanny", "crypt", "gc", "operator", "socket", "csv", "copy", "cgi", "posix", "tracemalloc", "getpass", "mimetypes", "ast", "_dummy_thread", "marshal", "nis", "mailbox", "contextvars", "zoneinfo", "getopt", "ensurepip", "symbol", "reprlib", "dis", "ssl", "msilib", "shelve", "quopri", "pydoc", "secrets", "xmlrpc", "sre_constants", "selectors", "cmd", "fcntl", "atexit", "nntplib", "zipimport", "types", "asyncio", "itertools", "test", "filecmp", "imp", "winsound", "fnmatch", "audioop", "spwd", "codecs", "statistics", "bz2", "imaplib", "zipfile", "queue", "wsgiref", "faulthandler", "cProfile", "timeit", "struct", "pprint", "functools", "typing", "hmac", "linecache", "modulefinder", "shlex", "venv", "ipaddress", "site", "posixpath", "dbm", "pstats", "sysconfig", "doctest", "weakref", "re", "textwrap", "unittest", "uu", "pwd", "mmap", "ftplib", "xml", "difflib", "pty", "copyreg", "shutil", "optparse", "string", "pickle", "urllib", "tarfile", "enum", "pkgutil", "pickletools", "hashlib", "pipes", "abc", "gzip", "asynchat", "inspect", "turtledemo", "smtplib", "poplib", "stringprep", "collections", "fractions", "chunk", "uuid", "webbrowser", "tokenize", "wave", "glob", "unicodedata", "bisect", "lzma", "warnings", "resource", "email" ], "extra_standard_library": [], "known_other": {}, "multi_line_output": "GRID", "forced_separate": [], "indent": " ", "comment_prefix": " #", "length_sort": false, "length_sort_straight": false, "length_sort_sections": [], "add_imports": [], "remove_imports": [], "append_only": false, "reverse_relative": false, "force_single_line": false, "single_line_exclusions": [], "default_section": "THIRDPARTY", "import_headings": {}, "import_footers": {}, "balanced_wrapping": false, "use_parentheses": false, "order_by_type": true, "atomic": false, "lines_before_imports": -1, "lines_after_imports": -1, "lines_between_sections": 1, "lines_between_types": 0, "combine_as_imports": false, "combine_star": false, "include_trailing_comma": false, "from_first": false, "verbose": false, "quiet": false, "force_adds": false, "force_alphabetical_sort_within_sections": false, "force_alphabetical_sort": false, "force_grid_wrap": 0, "force_sort_within_sections": false, "lexicographical": false, "group_by_package": false, "ignore_whitespace": false, "no_lines_before": [], "no_inline_sort": false, "ignore_comments": false, "case_sensitive": false, "sources": [ { "py_version": "py3", "force_to_top": [], "skip": [ "dist", "build", ".direnv", ".bzr", ".mypy_cache", "_build", ".pants.d", ".nox", ".eggs", "buck-out", "node_modules", ".git", ".hg", ".venv", "__pypackages__", ".tox", ".svn", "venv" ], "extend_skip": [], "skip_glob": [], "extend_skip_glob": [], "skip_gitignore": false, "line_length": 79, "wrap_length": 0, "line_ending": "", "sections": [ "FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER" ], "no_sections": false, "known_future_library": [ "__future__" ], "known_third_party": [], "known_first_party": [], "known_local_folder": [], "known_standard_library": [ "numbers", "zipapp", "locale", "configparser", "smtpd", "binascii", "calendar", "code", "subprocess", "binhex", "ntpath", "compileall", "rlcompleter", "cmath", "importlib", "signal", "turtle", "sunau", "time", "_thread", "errno", "msvcrt", "netrc", "syslog", "aifc", "formatter", "json", "imghdr", "sched", "xdrlib", "sre_parse", "ossaudiodev", "dummy_threading", "lib2to3", "readline", "token", "io", "fpectl", "logging", "socketserver", "platform", "plistlib", "datetime", "heapq", "argparse", "sre_compile", "traceback", "decimal", "bdb", "parser", "builtins", "html", "distutils", "_ast", "dataclasses", "sqlite3", "codeop", "py_compile", "os", "winreg", "tempfile", "array", "sre", "stat", "encodings", "keyword", "colorsys", "concurrent", "runpy", "graphlib", "pyclbr", "random", "sndhdr", "tty", "cgitb", "symtable", "curses", "sys", "termios", "telnetlib", "macpath", "tkinter", "contextlib", "mailcap", "trace", "fileinput", "zlib", "asyncore", "gettext", "ctypes", "multiprocessing", "threading", "http", "profile", "pathlib", "base64", "select", "math", "grp", "pdb", "tabnanny", "crypt", "gc", "operator", "socket", "csv", "copy", "cgi", "posix", "tracemalloc", "getpass", "mimetypes", "ast", "_dummy_thread", "marshal", "nis", "mailbox", "contextvars", "zoneinfo", "getopt", "ensurepip", "symbol", "reprlib", "dis", "ssl", "msilib", "shelve", "quopri", "pydoc", "secrets", "xmlrpc", "sre_constants", "selectors", "cmd", "fcntl", "atexit", "nntplib", "zipimport", "types", "asyncio", "itertools", "test", "filecmp", "imp", "winsound", "fnmatch", "audioop", "spwd", "codecs", "statistics", "bz2", "imaplib", "zipfile", "queue", "wsgiref", "faulthandler", "cProfile", "timeit", "struct", "pprint", "functools", "typing", "hmac", "linecache", "modulefinder", "shlex", "venv", "ipaddress", "site", "posixpath", "dbm", "pstats", "sysconfig", "doctest", "weakref", "re", "textwrap", "unittest", "uu", "pwd", "mmap", "ftplib", "xml", "difflib", "pty", "copyreg", "shutil", "optparse", "string", "pickle", "urllib", "tarfile", "enum", "pkgutil", "pickletools", "hashlib", "pipes", "abc", "gzip", "asynchat", "inspect", "turtledemo", "smtplib", "poplib", "stringprep", "collections", "fractions", "chunk", "uuid", "webbrowser", "tokenize", "wave", "glob", "unicodedata", "bisect", "lzma", "warnings", "resource", "email" ], "extra_standard_library": [], "known_other": {}, "multi_line_output": "GRID", "forced_separate": [], "indent": " ", "comment_prefix": " #", "length_sort": false, "length_sort_straight": false, "length_sort_sections": [], "add_imports": [], "remove_imports": [], "append_only": false, "reverse_relative": false, "force_single_line": false, "single_line_exclusions": [], "default_section": "THIRDPARTY", "import_headings": {}, "import_footers": {}, "balanced_wrapping": false, "use_parentheses": false, "order_by_type": true, "atomic": false, "lines_before_imports": -1, "lines_after_imports": -1, "lines_between_sections": 1, "lines_between_types": 0, "combine_as_imports": false, "combine_star": false, "include_trailing_comma": false, "from_first": false, "verbose": false, "quiet": false, "force_adds": false, "force_alphabetical_sort_within_sections": false, "force_alphabetical_sort": false, "force_grid_wrap": 0, "force_sort_within_sections": false, "lexicographical": false, "group_by_package": false, "ignore_whitespace": false, "no_lines_before": [], "no_inline_sort": false, "ignore_comments": false, "case_sensitive": false, "sources": [], "virtual_env": "", "conda_env": "", "ensure_newline_before_comments": false, "directory": "", "profile": "", "honor_noqa": false, "src_paths": [], "old_finders": false, "remove_redundant_aliases": false, "float_to_top": false, "filter_files": false, "formatter": "", "formatting_function": null, "color_output": false, "treat_comments_as_code": [], "treat_all_comments_as_code": false, "supported_extensions": [ "pyi", "pyx", "py", "pxd" ], "blocked_extensions": [ "pex" ], "constants": [], "classes": [], "variables": [], "dedup_headings": false, "only_sections": false, "only_modified": false, "combine_straight_imports": false, "auto_identify_namespace_packages": true, "namespace_packages": [], "follow_links": true, "indented_import_headings": true, "honor_case_in_force_sorted_sections": false, "sort_relative_in_force_sorted_sections": false, "overwrite_in_place": false, "reverse_sort": false, "star_first": false, "git_ignore": {}, "format_error": "{error}: {message}", "format_success": "{success}: {message}", "sort_order": "natural", "source": "defaults" } ], "virtual_env": "", "conda_env": "", "ensure_newline_before_comments": false, "directory": "/home/buda/code/py/projectdir", "profile": "", "honor_noqa": false, "src_paths": [ "/home/buda/code/py/projectdir/src", "/home/buda/code/py/projectdir" ], "old_finders": false, "remove_redundant_aliases": false, "float_to_top": false, "filter_files": false, "formatter": "", "formatting_function": null, "color_output": false, "treat_comments_as_code": [], "treat_all_comments_as_code": false, "supported_extensions": [ "pyi", "pyx", "py", "pxd" ], "blocked_extensions": [ "pex" ], "constants": [], "classes": [], "variables": [], "dedup_headings": false, "only_sections": false, "only_modified": false, "combine_straight_imports": false, "auto_identify_namespace_packages": true, "namespace_packages": [], "follow_links": true, "indented_import_headings": true, "honor_case_in_force_sorted_sections": false, "sort_relative_in_force_sorted_sections": false, "overwrite_in_place": false, "reverse_sort": false, "star_first": false, "git_ignore": {}, "format_error": "{error}: {message}", "format_success": "{success}: {message}", "sort_order": "natural"
Originally posted by @SandroJijavadze in #53 (comment)
The text was updated successfully, but these errors were encountered:
isort
Use verbose logging to get the config.
Sorry, something went wrong.
karthiknadig
No branches or pull requests
In isort panel:
If I comment out settings.json then I get additional:
If I run
isort --show-config
in terminalOriginally posted by @SandroJijavadze in #53 (comment)
The text was updated successfully, but these errors were encountered: