⬆️(dependencies) update python dependencies#694
Merged
Conversation
1373031 to
3da45fb
Compare
jmaupetit
reviewed
Oct 4, 2021
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.
lunika
approved these changes
Oct 4, 2021
e94717b to
acca6bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.3.5->==5.2.0==3.8.4->==3.9.2==5.7.0->==5.9.3==4.3.3->==4.5.1==2.6.0->==2.11.1==6.2.2->==6.2.5==2.11.1->==3.0.0==2.11.1->==2.12.2Release Notes
ansible-community/ansible-lint
v5.2.0Compare Source
Minor Changes
Bugfixes
Kudos goes to: @ToBeFree, @greg-hellings, @konstruktoid, @pabluk and @ssbarnea
v5.1.3Compare Source
Bugfixes
Kudos goes to: @Porkepix, @jslmorrison, @sbaudoin, @simonkeyd, @ssbarnea and @webknjaz
v5.1.2Compare Source
Bugfixes
Kudos goes to: @ssbarnea
v5.1.1Compare Source
Bugfixes
Kudos goes to: @pre-commit-ci, @pre-commit-ci[bot], @ssbarnea and @xabinapal
v5.0.12Compare Source
Changes
Bugfixes
v5.0.11Compare Source
Changes
Bugfixes
v5.0.10Compare Source
Changes
Minor Changes
Bugfixes
v5.0.9Compare Source
Changes
Minor Changes
Bugfixes
v5.0.8Compare Source
Changes
Minor Changes
Bugfixes
v5.0.7Compare Source
Changes
Minor Changes
Bugfixes
v5.0.6Compare Source
Changes
Bugfixes
v5.0.5Compare Source
Changes
Minor Changes
Bugfixes
v5.0.4Compare Source
Changes
Minor Changes
Bugfixes
v5.0.3Compare Source
Changes
Minor Changes
Bugfixes
v5.0.2Compare Source
Changes
Minor Changes
Bugfixes
v5.0.1Compare Source
Changes
Minor Changes
Bugfixes
v5.0.0Compare 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.7Compare Source
Changes
Bugfixes
v4.3.6Compare Source
Changes
Minor Changes
Bugfixes
pycqa/isort
v5.9.3Compare Source
--from-firstCLI flag shouldn't take any arguments.v5.9.2Compare Source
isort --check --atomicagainst Cython files.__init__.pyfiles during placement.v5.9.1Compare Source
v5.9.0Compare Source
__pypackages__directories by default.reverse_sortwhenforce_sort_within_sectionsis true PyCQA/isort#1726): isort ignores reverse_sort when force_sort_within_sections is true.Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
v5.8.0Compare Source
-j) now defaults to number of CPU cores if no value is provided.--overwrite-in-placeto ensure same file handle is used after sorting.--extend-skipand--extend-skip-glob.PyCQA/pylint
v2.11.1Compare Source
============================
Release date: 2021-09-16
unspecified-encodingnow checks the encoding ofpathlib.Path()correctlyCloses #5017
v2.11.0Compare Source
============================
Release date: 2021-09-16
The python3 porting mode checker and it's
py3koption were removed. You can still find it in older pylintversions.
raising-bad-typeis now properly emitted when raising a stringAdded new extension
SetMembershipCheckerwithuse-set-for-membershipcheck:Emitted when using an in-place defined
listortupleto do a membership test.setsare better optimized for that.Closes #4776
Added
py-versionconfig key (if[MASTER]section). Used for version dependant checks.Will default to whatever Python version pylint is executed with.
CodeStyleCheckerAdded
consider-using-assignment-expr: Emitted when an assignment is directly followed by an if statementand both can be combined by using an assignment expression
:=. Requires Python 3.8Closes #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-withif a context manager is assigned to avariable 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-redefinedfor simple type annotationsCloses #4936
Fix false positive for
protected-accessif a protected member is used in type hints of function definitionsFix false positive
dict-iter-missing-itemsfor dictionaries only using tuples as keysCloses #3282
The
unspecified-encodingchecker now also checks calls topathlib.Path().read_text()and
pathlib.Path().write_text()Closes #4945
Fix false positive
superfluous-parensfor tuples created with inner tuplesCloses #4907
Fix false positive
unused-private-memberfor accessing attributes in a class usingclsCloses #4849
Fix false positive
unused-private-memberfor private staticmethods accessed in classmethods.Closes #4849
Extended
consider-using-incheck to work for attribute access.Setting
min-similarity-linesto 0 now makes the similarty checker stop checking for duplicate codeCloses #4901
Fix a bug where pylint complained if the cache's parent directory does not exist
Closes #4900
The
global-variable-not-assignedchecker now catches global variables that are never reassigned in alocal 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-useanddocparams extensionfor async functions and methods.Add documentation for
pyreverseandsymilarCloses #4616
Non symbolic messages with the wrong capitalisation now correctly trigger
use-symbolic-message-insteadCloses #5000
The
consider-iterating-dictionarychecker now also considers membership checksCloses #4069
The
invalid-namemessage is now more detailed when using multiple naming style regexes.v2.10.2Compare 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-environwhen failing to inferon
copy.copyCloses #4891
v2.10.1Compare Source
============================
Release date: 2021-08-20
pylint does not crash when PYLINT_HOME does not exist.
Closes #4883
v2.10.0Compare 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-withis 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-errormessage creation
Closes #4775
Added
ignored-parentsoption to the design checker to ignore specificclasses from the
too-many-ancestorscheck (R0901).Partially closes #3057
Added
unspecified-encoding: Emitted when open() is called without specifying an encodingCloses #3826
Improved the Similarity checker performance. Fix issue with
--min-similarity-linesused with--jobs.Close #4120
Close #4118
Don't emit
no-membererror if guarded behind if statement.Ref #1162
Closes #1990
Closes #4168
The default for
PYLINTHOMEis now the standardXDG_CACHE_HOME, and pylint now usesappdirs.Closes #3878
Added
use-list-literal: Emitted whenlist()is called with no arguments instead of using[]Closes #4365
Added
use-dict-literal: Emitted whendict()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 awhileloop is used.Closes # 4367
Added
forgotten-debug-statement: Emitted whenbreakpoint,pdb.set_traceorsys.breakpointhookcalls are foundCloses #3692
Fix false-positive of
unused-private-memberwhen using nested functions in a classCloses #4673
Fix crash for
unused-private-memberthat occurred with nested attributes.Closes #4755
Fix a false positive for
unused-private-memberwith class namesCloses #4681
Fix false positives for
superfluous-parenswith walrus operator, ternary operator and inside list comprehension.Closes #2818
Closes #3249
Closes #3608
Closes #4346
Added
format-string-without-interpolationchecker: Emitted when formatting is applied to a string without any variables to be replacedCloses #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-assignmentwhen the variable is assignedin an exception handler, but used outside of the handler.
Closes #626
Added
disable-nextoption: allows using# pylint: disable-next=msgidto disable a message for the following lineCloses #1682
Added
redundant-u-string-prefixchecker: Emitted when the u prefix is added to a stringCloses #4102
Fixed
cell-var-from-loopchecker: 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-loopchecker: it no longer has false negatives whenboth
unused-variableandused-before-assignmentare disabled.Fix false postive for
invalid-all-formatif the list or tuple builtin functions are usedCloses #4711
Config files can now contain environment variables
Closes #3839
Fix false-positive
used-before-assignmentwith an assignment expression in aReturnnodeCloses #4828
Added
use-sequence-for-iteration: Emitted when iterating over an in-place definedset.CodeStyleCheckerLimit
consider-using-tupleto be emitted only for in-place definedlists.Emit
consider-using-tupleeven if list contains astarredexpression.Ignore decorators lines by similarities checker when ignore signatures flag enabled
Closes #4839
Allow
trueandfalsevalues inpylintrcfor better compatibility withtomlconfig.Class methods' signatures are ignored the same way as functions' with similarities "ignore-signatures" option enabled
Closes #4653
Improve performance when inferring
Callnodes, by utilizing caching.Improve error message for invalid-metaclass when the node is an Instance.
v2.9.6Compare Source
===========================
Release date: 2021-07-28
Fix a false positive
undefined-variablewhen variable name in decorationmatches function argument
Closes #3791
v2.9.5Compare 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.4Compare Source
===========================
Release date: 2021-07-20
Added
time.clockto deprecated functions/methods for python 3.3Fix 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 withwithCloses #4676
Fix false-positive
deprecated-modulewhen relative import uses deprecated module name.Closes #4629
Fix false-positive
consider-using-with(R1732) ifcontextlib.ExitStacktakes care of calling the__exit__methodCloses #4654
Fix a false positive for
unused-private-memberwhen mutating a private attributewith
clsCloses #4657
Fix ignored empty functions by similarities checker with "ignore-signatures" option enabled
Closes #4652
Fix false-positive of
use-maxsplit-argwhen index is incremented ina loop
Closes #4664
Don't emit
cyclic-importmessage if import is guarded bytyping.TYPE_CHECKING.Closes #3525
Fix false-positive
not-callablewith alternativeTypedDictsyntaxCloses #4715
Clarify documentation for consider-using-from-import
Don't emit
unreachablewarning for empty generator functionsCloses #4698
Don't emit
import-error,no-name-in-module, andungrouped-importsfor imports guarded by
sys.version_infoortyping.TYPE_CHECKING.Closes #3285
Closes #3382
Fix
invalid-overridden-methodwith nested propertyCloses #4368
Fix false-positive of
unused-private-memberwhen using__new__in a classCloses #4668
No longer emit
consider-using-withforThreadPoolExecutorandProcessPoolExecutoras they have legitimate use cases without a
withblock.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.
This PR has been generated by WhiteSource Renovate. View repository job log here.