Skip to content

Commit

Permalink
Add badge reference
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Jul 24, 2020
1 parent 09d68a8 commit ca585bf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,26 @@ setup(
)
```

Spread the word
==========

[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)

Place this badge at the top your repository to let others know your project uses isort.

For README.md:

```markdown
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)
```

Or README.rst:

```rst
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
:target: https://timothycrosley.github.io/isort/
```

Security contact information
==========

Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Balances wrapping to produce the most consistent line length possible

## Use Parentheses

Use parentheses for line continuation on length limit instead of slashes.
Use parentheses for line continuation on length limit instead of slashes. **NOTE**: This is separate from wrap modes, and only affects individual line to long wrapping, not sections of multiple imports.

**Type:** Bool
**Default:** `False`
Expand Down
4 changes: 3 additions & 1 deletion isort/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,9 @@ def _build_arg_parser() -> argparse.ArgumentParser:
"--use-parentheses",
dest="use_parentheses",
action="store_true",
help="Use parentheses for line continuation on length limit instead of slashes.",
help="Use parentheses for line continuation on length limit instead of slashes."
" **NOTE**: This is separate from wrap modes, and only affects how individual lines that "
" are too long get continued, not sections of multiple imports.",
)
parser.add_argument(
"-V",
Expand Down

0 comments on commit ca585bf

Please sign in to comment.