Skip to content
New issue

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

⬆️(dependencies) update python dependencies #694

Merged
merged 4 commits into from Oct 4, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 4, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ansible-lint ==4.3.5 -> ==5.2.0 age adoption passing confidence
flake8 (changelog) ==3.8.4 -> ==3.9.2 age adoption passing confidence
isort (source, changelog) ==5.7.0 -> ==5.9.3 age adoption passing confidence
pyfakefs ==4.3.3 -> ==4.5.1 age adoption passing confidence
pylint (changelog) ==2.6.0 -> ==2.11.1 age adoption passing confidence
pytest (source, changelog) ==6.2.2 -> ==6.2.5 age adoption passing confidence
pytest-cov ==2.11.1 -> ==3.0.0 age adoption passing confidence
yq ==2.11.1 -> ==2.12.2 age adoption passing confidence

Release Notes

ansible-community/ansible-lint

v5.2.0

Compare Source

Minor Changes

Bugfixes

Kudos goes to: @​ToBeFree, @​greg-hellings, @​konstruktoid, @​pabluk and @​ssbarnea

v5.1.3

Compare Source

Bugfixes

Kudos goes to: @​Porkepix, @​jslmorrison, @​sbaudoin, @​simonkeyd, @​ssbarnea and @​webknjaz

v5.1.2

Compare Source

Bugfixes

Kudos goes to: @​ssbarnea

v5.1.1

Compare Source

Bugfixes

Kudos goes to: @​pre-commit-ci, @​pre-commit-ci[bot], @​ssbarnea and @​xabinapal

v5.0.12

Compare Source

Changes

Bugfixes

v5.0.11

Compare Source

Changes

Bugfixes

v5.0.10

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.9

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.8

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.7

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.6

Compare Source

Changes

Bugfixes

v5.0.5

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.4

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.3

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.2

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.1

Compare Source

Changes

Minor Changes

Bugfixes

v5.0.0

Compare Source

Changes

This is a major new version that will surely break for users that have custom rules. It will also require most users to update the way they install the linter as they now need to mention which version of Ansible they want to use it with.

For guidance regarding upgrading please read the docs and consult https://github.com/ansible-community/ansible-lint/discussions/1150

Please note that the changes listed before do not contain those from the pre-releases made since last stable release, read all.

Minor Changes

Bugfixes

v4.3.7

Compare Source

Changes

Bugfixes

v4.3.6

Compare Source

Changes

Minor Changes

Bugfixes

pycqa/isort

v5.9.3

Compare Source

  • Improved text of skipped file message to mention gitignore feature.
    • Made all exceptions pickleable.
    • Fixed #​1779: Pylama integration ignores pylama specific isort config overrides.
    • Fixed #​1781: --from-first CLI flag shouldn't take any arguments.
    • Fixed #​1792: Sorting literals sometimes ignored when placed on first few lines of file.
    • Fixed #​1777: extend_skip is not honored wit a git submodule when skip_gitignore=true.

v5.9.2

Compare Source

  • Improved behavior of isort --check --atomic against Cython files.
    • Fixed #​1769: Future imports added below assignments when no other imports present.
    • Fixed #​1772: skip-gitignore will check files not in the git repository.
    • Fixed #​1762: in some cases when skip-gitignore is set, isort fails to skip any files.
    • Fixed #​1767: Encoding issues surfacing when invalid characters set in __init__.py files during placement.
    • Fixed #​1771: Improved handling of skips against named streamed in content.

v5.9.1

Compare Source

  • Fixed #​1758: projects with many files and skip_ignore set can lead to a command-line overload.

v5.9.0

Compare Source

Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
  • Implemented #​1394: 100% branch coverage (in addition to line coverage) enforced.
  • Implemented #​1751: Strict typing enforcement (turned on mypy strict mode).

v5.8.0

Compare Source

  • Fixed #​1631: as import comments can in some cases be duplicated.
    • Fixed #​1667: extra newline added with float-to-top, after skip, in some cases.
    • Fixed #​1594: incorrect placement of noqa comments with multiple from imports.
    • Fixed #​1566: in some cases different length limits for dos based line endings.
    • Implemented #​1648: Export MyPY type hints.
    • Implemented #​1641: Identified import statements now return runnable code.
    • Implemented #​1661: Added "wemake" profile.
    • Implemented #​1669: Parallel (-j) now defaults to number of CPU cores if no value is provided.
    • Implemented #​1668: Added a safeguard against accidental usage against /.
    • Implemented #​1638 / #​1644: Provide a flag --overwrite-in-place to ensure same file handle is used after sorting.
    • Implemented #​1684: Added support for extending skips with --extend-skip and --extend-skip-glob.
    • Implemented #​1688: Auto identification and skipping of some invalid import statements.
    • Implemented #​1645: Ability to reverse the import sorting order.
    • Implemented #​1504: Added ability to push star imports to the top to avoid overriding explicitly defined imports.
    • Documented #​1685: Skip doesn't support plain directory names, but skip_glob does.
PyCQA/pylint

v2.11.1

Compare Source

============================
Release date: 2021-09-16

  • unspecified-encoding now checks the encoding of pathlib.Path() correctly

    Closes #​5017

v2.11.0

Compare Source

============================
Release date: 2021-09-16

  • The python3 porting mode checker and it's py3k option were removed. You can still find it in older pylint
    versions.

  • raising-bad-type is now properly emitted when raising a string

  • Added new extension SetMembershipChecker with use-set-for-membership check:
    Emitted when using an in-place defined list or tuple to do a membership test. sets are better optimized for that.

    Closes #​4776

  • Added py-version config key (if [MASTER] section). Used for version dependant checks.
    Will default to whatever Python version pylint is executed with.

  • CodeStyleChecker

    • Added consider-using-assignment-expr: Emitted when an assignment is directly followed by an if statement
      and both can be combined by using an assignment expression :=. Requires Python 3.8

      Closes #​4862

  • Added consider-using-f-string: Emitted when .format() or '%' is being used to format a string.

    Closes #​3592

  • Fix false positive for consider-using-with if a context manager is assigned to a
    variable in different paths of control flow (e. g. if-else clause).

    Closes #​4751

  • https is now prefered in the documentation and http://pylint.pycqa.org correctly redirect to https://pylint.pycqa.org

    Closes #​3802

  • Fix false positive for function-redefined for simple type annotations

    Closes #​4936

  • Fix false positive for protected-access if a protected member is used in type hints of function definitions

  • Fix false positive dict-iter-missing-items for dictionaries only using tuples as keys

    Closes #​3282

  • The unspecified-encoding checker now also checks calls to pathlib.Path().read_text()
    and pathlib.Path().write_text()

    Closes #​4945

  • Fix false positive superfluous-parens for tuples created with inner tuples

    Closes #​4907

  • Fix false positive unused-private-member for accessing attributes in a class using cls

    Closes #​4849

  • Fix false positive unused-private-member for private staticmethods accessed in classmethods.

    Closes #​4849

  • Extended consider-using-in check to work for attribute access.

  • Setting min-similarity-lines to 0 now makes the similarty checker stop checking for duplicate code

    Closes #​4901

  • Fix a bug where pylint complained if the cache's parent directory does not exist

    Closes #​4900

  • The global-variable-not-assigned checker now catches global variables that are never reassigned in a
    local scope and catches (reassigned) functions

    Closes #​1375
    Closes #​330

  • Fix false positives for invalid-all-format that are lists or tuples at runtime

    Closes #​4711

  • Fix no-self-use and docparams extension for async functions and methods.

  • Add documentation for pyreverse and symilar

    Closes #​4616

  • Non symbolic messages with the wrong capitalisation now correctly trigger use-symbolic-message-instead

    Closes #​5000

  • The consider-iterating-dictionary checker now also considers membership checks

    Closes #​4069

  • The invalid-name message is now more detailed when using multiple naming style regexes.

v2.10.2

Compare Source

============================
Release date: 2021-08-21

  • We now use platformdirs instead of appdirs since the latter is not maintained.

    Closes #​4886

  • Fix a crash in the checker raising shallow-copy-environ when failing to infer
    on copy.copy

    Closes #​4891

v2.10.1

Compare Source

============================
Release date: 2021-08-20

  • pylint does not crash when PYLINT_HOME does not exist.

    Closes #​4883

v2.10.0

Compare Source

============================
Release date: 2021-08-20

  • pyreverse: add option to produce colored output.

    Closes #​4488

  • pyreverse: add output in PlantUML format.

    Closes #​4498

  • consider-using-with is no longer triggered if a context manager is returned from a function.

    Closes #​4748

  • pylint does not crash with a traceback anymore when a file is problematic. It
    creates a template text file for opening an issue on the bug tracker instead.
    The linting can go on for other non problematic files instead of being impossible.

  • pyreverse: Show class has-a relationships inferred from the type-hint

    Closes #​4744

  • Fixed a crash when importing beyond the top level package during import-error
    message creation

    Closes #​4775

  • Added ignored-parents option to the design checker to ignore specific
    classes from the too-many-ancestors check (R0901).

    Partially closes #​3057

  • Added unspecified-encoding: Emitted when open() is called without specifying an encoding

    Closes #​3826

  • Improved the Similarity checker performance. Fix issue with --min-similarity-lines used with --jobs.

    Close #​4120
    Close #​4118

  • Don't emit no-member error if guarded behind if statement.

    Ref #​1162
    Closes #​1990
    Closes #​4168

  • The default for PYLINTHOME is now the standard XDG_CACHE_HOME, and pylint now uses appdirs.

    Closes #​3878

  • Added use-list-literal: Emitted when list() is called with no arguments instead of using []

    Closes #​4365

  • Added use-dict-literal: Emitted when dict() is called with no arguments instead of using {}

    Closes #​4365

  • Added optional extension consider-ternary-expression: Emitted whenever a variable is assigned in both branches of an if/else block.

    Closes # 4366

  • Added optional extension while-used: Emitted whenever a while loop is used.

    Closes # 4367

  • Added forgotten-debug-statement: Emitted when breakpoint, pdb.set_trace or sys.breakpointhook calls are found

    Closes #​3692

  • Fix false-positive of unused-private-member when using nested functions in a class

    Closes #​4673

  • Fix crash for unused-private-member that occurred with nested attributes.

    Closes #​4755

  • Fix a false positive for unused-private-member with class names

    Closes #​4681

  • Fix false positives for superfluous-parens with walrus operator, ternary operator and inside list comprehension.

    Closes #​2818
    Closes #​3249
    Closes #​3608
    Closes #​4346

  • Added format-string-without-interpolation checker: Emitted when formatting is applied to a string without any variables to be replaced

    Closes #​4042

  • Refactor of --list-msgs & --list-msgs-enabled: both options now show whether messages are emittable with the current interpreter.

    Closes #​4778

  • Fix false negative for used-before-assignment when the variable is assigned
    in an exception handler, but used outside of the handler.

    Closes #​626

  • Added disable-next option: allows using # pylint: disable-next=msgid to disable a message for the following line

    Closes #​1682

  • Added redundant-u-string-prefix checker: Emitted when the u prefix is added to a string

    Closes #​4102

  • Fixed cell-var-from-loop checker: handle cell variables in comprehensions within functions,
    and function default argument expressions. Also handle basic variable shadowing.

    Closes #​2846
    Closes #​3107

  • Fixed bug with cell-var-from-loop checker: it no longer has false negatives when
    both unused-variable and used-before-assignment are disabled.

  • Fix false postive for invalid-all-format if the list or tuple builtin functions are used

    Closes #​4711

  • Config files can now contain environment variables

    Closes #​3839

  • Fix false-positive used-before-assignment with an assignment expression in a Return node

    Closes #​4828

  • Added use-sequence-for-iteration: Emitted when iterating over an in-place defined set.

  • CodeStyleChecker

    • Limit consider-using-tuple to be emitted only for in-place defined lists.

    • Emit consider-using-tuple even if list contains a starred expression.

  • Ignore decorators lines by similarities checker when ignore signatures flag enabled

    Closes #​4839

  • Allow true and false values in pylintrc for better compatibility with toml config.

  • Class methods' signatures are ignored the same way as functions' with similarities "ignore-signatures" option enabled

    Closes #​4653

  • Improve performance when inferring Call nodes, by utilizing caching.

  • Improve error message for invalid-metaclass when the node is an Instance.

v2.9.6

Compare Source

===========================
Release date: 2021-07-28

  • Fix a false positive undefined-variable when variable name in decoration
    matches function argument

    Closes #​3791

v2.9.5

Compare Source

===========================
Release date: 2021-07-21

  • Fix a crash when there would be a 'TypeError object does not support
    item assignment' in the code we parse.

    Closes #​4439

  • Fix crash if a callable returning a context manager was assigned to a list or dict item

    Closes #​4732

  • Fix a crash when an AttributeInferenceError was not handled properly when
    failing to infer the real name of an import in astroid.

    Closes #​4692

v2.9.4

Compare Source

===========================
Release date: 2021-07-20

  • Added time.clock to deprecated functions/methods for python 3.3

  • Fix bug in which --fail-on can return a zero exit code even when the specified issue is present

    Closes #​4296
    Closes #​3363

  • Fix hard failure when handling missing attribute in a class with duplicated bases

    Closes #​4687

  • Fix false-positive consider-using-with (R1732) if a ternary conditional is used together with with

    Closes #​4676

  • Fix false-positive deprecated-module when relative import uses deprecated module name.

    Closes #​4629

  • Fix false-positive consider-using-with (R1732) if contextlib.ExitStack takes care of calling the __exit__ method

    Closes #​4654

  • Fix a false positive for unused-private-member when mutating a private attribute
    with cls

    Closes #​4657

  • Fix ignored empty functions by similarities checker with "ignore-signatures" option enabled

    Closes #​4652

  • Fix false-positive of use-maxsplit-arg when index is incremented in
    a loop

    Closes #​4664

  • Don't emit cyclic-import message if import is guarded by typing.TYPE_CHECKING.

    Closes #​3525

  • Fix false-positive not-callable with alternative TypedDict syntax

    Closes #​4715

  • Clarify documentation for consider-using-from-import

  • Don't emit unreachable warning for empty generator functions

    Closes #​4698

  • Don't emit import-error, no-name-in-module, and ungrouped-imports
    for imports guarded by sys.version_info or typing.TYPE_CHECKING.

    Closes #​3285
    Closes #​3382

  • Fix invalid-overridden-method with nested property

    Closes #​4368

  • Fix false-positive of unused-private-member when using __new__ in a class

    Closes #​4668

  • No longer emit consider-using-with for ThreadPoolExecutor and ProcessPoolExecutor
    as they have legitimate use cases without a with block.

    Closes #​4689

  • Fix crash when inferring variables assigned in match patterns

    Closes #​4685

  • Fix a crash when a StopIteration was raised when inferring
    a faulty function in a context


Configuration

📅 Schedule: "before 7am on monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 4, 2021
@renovate renovate bot force-pushed the renovate/python-dependencies branch from 1373031 to 3da45fb Compare October 4, 2021 02:57
@jmaupetit jmaupetit self-assigned this Oct 4, 2021
@jmaupetit jmaupetit requested a review from lunika October 4, 2021 13:58
Dockerfile Show resolved Hide resolved
As the `ansible-lint-rules` project is no longer maintained, we've
decided to stick to the base ansible-lint rules.
We now must use f-strings everywhere!
In the renovate configuration, when activated, the flag
`commitBodyTable` enables to append a table with all the updates in the
commit. To fit to our previous commit description with pybot, we have
activated this flag.
@jmaupetit jmaupetit merged commit 418d703 into master Oct 4, 2021
@jmaupetit jmaupetit deleted the renovate/python-dependencies branch October 4, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants