diff options
Diffstat (limited to 'isort/main.py')
-rw-r--r-- | isort/main.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/isort/main.py b/isort/main.py index b9b86687..459e786e 100644 --- a/isort/main.py +++ b/isort/main.py @@ -423,6 +423,13 @@ def parse_args(argv: Optional[Sequence[str]] = None) -> Dict[str, Any]: help="Forces all from imports to appear on their own line", ) parser.add_argument( + "--nsl", + "--single-line-exclusions", + help="One or more modules to exclude from the single line rule.", + dest="single_line_exclusions", + action="append", + ) + parser.add_argument( "--sp", "--settings-path", dest="settings_path", |