8000 Tags · PyCQA/isort · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

10.0.0b2

Toggle 10.0.0b2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix opening-line comment moving to the alias line with combine_as_imp…

…orts

With combine_as_imports, the comments of an import that has an alias
are kept under module.__combined_as__ and added to the comments of the
grouped statement in _with_from_imports_for_module. Since the grouping
change of #2614, preserve_comments_on_statement_line only looks at the
module's own opening-line comments, so a wrapped import of a single
aliased name went through wrap.line() and its comment, often a
type: ignore, moved to the alias line, where mypy no longer applies it.
That is the case #1839 reported, now only with combine_as_imports.

Count the combined comments as statement comments too.

10.0.0b1

Toggle 10.0.0b1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Regenarete `stdlibds` for Python 3.15

9.0.2

Toggle 9.0.2's commit message
Core developers revision

9.0.1

Toggle 9.0.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix review typing and import order in CLI invocation test

Co-authored-by: DanielNoord <13665637+DanielNoord@users.noreply.github.com>

9.0.0

Toggle 9.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Name the predicate and drive the prefix test off STRING_PREFIXES

Addresses the two review comments.

The quote-based test in `process` is now `_is_comment_or_string_start`,
so the call site says what it is asking rather than composing a strip and
a startswith inline.

The regr
8000
ession test iterates `isort.core.STRING_PREFIXES` instead of
repeating the prefixes, so the two cannot drift apart.

9.0.0b5

Toggle 9.0.0b5's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Add `merge-multiple` when downloading release assets

9.0.0b4

Toggle 9.0.0b4's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Remove `name` from downloading assets steps in Release

9.0.0b3

Toggle 9.0.0b3's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Split up Build job and build with `cibuildwheel`

9.0.0b2

Toggle 9.0.0b2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #2619 from DanielNoord/test

Small clean up and fix inconsistency in handling of `*` imports

9.0.0b1

Toggle 9.0.0b1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #2576 from lord-haffi/issue/2280

fix: make sorted __all__ and literals black-compatible (#2280)
0