
This PR contains the following updates:
Note: Thepre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, insteadcreate a Discussion in the Renovate repository if you have any questions.
Release Notes
actions/setup-python
Compare Source
actions/stale
Compare Source
Update@actions/core to 1.10.0#839
Full Changelog:actions/stale@v6.0.0...v6.0.1
codecov/codecov-action
Compare Source
What's Changed
New Contributors
Full Changelog:codecov/codecov-action@v3.1.0...v3.1.1
Compare Source
3.1.0
Features
- #699 Incorporate
xcode
arguments for the Codecov uploader
Dependencies
commitizen-tools/commitizen
Compare Source
Feat
- allow fixup! and squash! in commit messages
Compare Source
Feat
- bump: support optional manual version argument
Fix
- bump: fix type hint
- bump: fix typos
Compare Source
Fix
- bump.py:
CHANGELOG.md
gets git added and commited correctly
Compare Source
Feat
- add functionality for dev-releases
Compare Source
Fix
- README.md: fix pre-commit install command
Compare Source
Fix
- bump: log git commit stderr and stdout during bump
Compare Source
Fix
- command_changelog: Fixed issue#561 cz bump could not find the latest version tag with custom tag_format
Compare Source
Refactor
- bump: Remove a redundant join call
Compare Source
Fix
- bump: Search for version number line by line
maxbrunet/pre-commit-renovate
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.4 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.3 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.237.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.4 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.3 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.235.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.234.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.234.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.232.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.232.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.231.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.231.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.230.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.229.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.228.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.226.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.226.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.225.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.225.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.224.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.223.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.222.4 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.222.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.221.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.221.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.220.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.219.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.217.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.216.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.215.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.214.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.3 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.212.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.211.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.211.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.211.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.210.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.209.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.3 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.2 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.206.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.5 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.4 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.3 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.203.0 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.6 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.5 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.4 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.3 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.1 for more changes
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.0 for more changes
pycqa/pylint
Compare Source
False Positives Fixed
Other Bug Fixes
Fix bug in detectingunused-variable
when iterating on variable.
Closes#3044
Fixed handling of--
as separator between positional arguments and flags.
This was not actually fixed in 2.14.5.
Closes#7003, Refs#7096
Reportno-self-argument
rather thanno-method-argument
for methods
with variadic arguments.
Closes#7507
Fixed an issue wheresyntax-error
couldn't be raised on files with
invalid encodings.
Closes#7522
Fix false positive forredefined-outer-name
when aliasingtyping
e.g. ast
and guarding imports undert.TYPE_CHECKING
.
Closes#7524
Fixed a crash of themodified_iterating
checker when iterating on a set
defined as a class attribute.
Closes#7528
Fix bug in scanning of names inside arguments totyping.Literal
.
Seehttps://peps.python.org/pep-0586/#literals-enums-and-forward-references
for details.
Refs#3299
Other Changes
Compare Source
Fixed a crash in theunhashable-member
checker when using alambda
as a dict key.
Closes#7453
Fix a crash in themodified-iterating-dict
checker involving instance attributes.
Closes#7461
invalid-class-object
does not crash anymore when__class__
is assigned alongside another variable.
Closes#7467
Fix false positive forglobal-variable-not-assigned
when a global variable is re-assigned via anImportFrom
node.
Closes#4809
Fix false positive forundefined-loop-variable
infor-else
loops that use a function
having a return type annotation ofNoReturn
orNever
.
Closes#7311
--help-msg
now accepts a comma-separated list of message IDs again.
Closes#7471
Compare Source
Fixed a case where custom plugins specified by command line could silently fail.
Specifically, if a plugin relies on theinit-hook
option changingsys.path
before
it can be imported, this will now emit abad-plugin-value
message. Before this
change, it would silently fail to register the plugin for use, but would load
any configuration, which could have unintended effects.
Fixes part of#7264.
Fixused-before-assignment
for functions/classes defined in type checking guard.
Closes#7368
Updatemodified_iterating
checker to fix a crash withfor
loops on empty list.
Closes#7380
Thedocparams
extension now considers typing in Numpy style docstrings
as "documentation" for themissing-param-doc
message.
Refs#7398
Fix false positive forunused-variable
andunused-import
when a name is only used in a string literal type annotation.
Closes#3299
Fix false positive fortoo-many-function-args
when a function call is assigned to a class attribute inside the class where the function is defined.
Closes#6592
Fixused-before-assignment
for functions/classes defined in type checking guard.
Closes#7368
Fix ignored files being linted when passed on stdin.
Closes#4354
missing-return-doc
,missing-raises-doc
andmissing-yields-doc
now respect
theno-docstring-rgx
option.
Closes#4743
Don't crash onOSError
in config file discovery.
Closes#7169
disable-next
is now correctly scoped to only the succeeding line.
Closes#7401
Updatemodified_iterating
checker to fix a crash withfor
loops on empty list.
Closes#7380
Compare Source
Fixused-before-assignment
for functions/classes defined in type checking guard.
Closes#7368
Updatemodified_iterating
checker to fix a crash withfor
loops on empty list.
Closes#7380
Thedocparams
extension now considers typing in Numpy style docstrings
as "documentation" for themissing-param-doc
message.
Refs#7398
Fix false positive forunused-variable
andunused-import
when a name is only used in a string literal type annotation.
Closes#3299
Fix false positive fortoo-many-function-args
when a function call is assigned to a class attribute inside the class where the function is defined.
Closes#6592
Fixused-before-assignment
for functions/classes defined in type checking guard.
Closes#7368
Fix ignored files being linted when passed on stdin.
Closes#4354
missing-return-doc
,missing-raises-doc
andmissing-yields-doc
now respect
theno-docstring-rgx
option.
Closes#4743
Don't crash onOSError
in config file discovery.
Closes#7169
disable-next
is now correctly scoped to only the succeeding line.
Closes#7401
Updatemodified_iterating
checker to fix a crash withfor
loops on empty list.
Closes#7380
Compare Source
In pylint 2.15.0, we added a new checkmissing-timeout
to warn of default timeout values that could cause a program to be hanging indefinitely.
We improvedpylint
's handling of namespace packages. More packages should be linted without resorting to using the--recursive=y
option.
We still welcome any community effort to help review, integrate, and add good/bad examples to the doc forhttps://github.com/PyCQA/pylint/issues/5953. This should be doable without anypylint
orastroid
knowledge, so this is the perfect entrypoint if you want to contribute topylint
or open source without any experience with our code!
Internally, we changed the way we generate the release notes, thanks to DudeNr33. There will be no more conflict resolution to do in the changelog, and every contributor rejoice.
Marc Byrne became a maintainer, welcome to the team !
New Checks
False Positives Fixed
Don't reportsuper-init-not-called
for abstract__init__
methods.
Closes#3975
Don't reportunsupported-binary-operation
on Python <= 3.9 when using the|
operator
with types, if one has a metaclass that overloads__or__
or__ror__
as appropriate.
Closes#4951
Don't reportno-value-for-parameter
for dataclasses fields annotated withKW_ONLY
.
Closes#5767
Fixed inference ofEnums
when they are imported under an alias.
Closes#5776
Prevent false positives when accessingPurePath.parents
by index (not slice) on Python 3.10+.
Closes#5832
unnecessary-list-index-lookup
is now more conservative to avoid potential false positives.
Closes#6896
Fix double emittingtrailing-whitespace
for multi-line docstrings.
Closes#6936
import-error
now correctly checks forcontextlib.suppress
guards on import statements.
Closes#7270
Fix false positive forno-self-argument
/no-method-argument
when a staticmethod is applied to a function but uses a different name.
Closes#7300
Fixundefined-loop-variable
withbreak
andcontinue
statements inelse
blocks.
Refs#7311
False Negatives Fixed
Emitused-before-assignment
when relying on a name that is reimported later in a function.
Closes#4624
Emitused-before-assignment
for self-referencing named expressions (:=
) lacking
prior assignments.
Closes#5653
Emitused-before-assignment
for self-referencing assignments under if conditions.
Closes#6643
Emitmodified-iterating-list
and analogous messages for dicts and sets when iterating
literals, or when using thedel
keyword.
Closes#6648
Emitused-before-assignment
when calling nested functions before assignment.
Closes#6812
Emitnonlocal-without-binding
when a nonlocal name has been assigned at a later point in the same scope.
Closes#6883
Emitusing-constant-test
when testing the truth value of a variable or call result
holding a generator.
Closes#6909
Renameunhashable-dict-key
tounhashable-member
and emit when creating sets and dicts,
not just when accessing dicts.
Closes#7034, Closes#7055
Other Bug Fixes
Fix a failure to lint packages with__init__.py
contained in directories lacking__init__.py
.
Closes#1667
Fixed a syntax-error crash that was not handled properly when the declared encoding of a file
wasutf-9
.
Closes#3860
Fix a crash in thenot-callable
check when there is ambiguity whether an instance is being incorrectly provided to__new__()
.
Closes#7109
Fix crash when regex option raises are.error
exception.
Closes#7202
Fixundefined-loop-variable
from walrus in comprehension test.
Closes#7222
Check for<cwd>
before removing first item fromsys.path
inmodify_sys_path
.
Closes#7231
Fix sys.path pollution in parallel mode.
Closes#7246
Preventuseless-parent-delegation
for delegating to a builtin
written in C (e.g.Exception.__init__
) with non-self arguments.
Closes#7319
Other Changes
bad-exception-context
has been renamed tobad-exception-cause
as it is about the cause and not the context.
Closes#3694
The message forliteral-comparison
is now more explicit about the problem and the
solution.
Closes#5237
useless-super-delegation
has been renamed touseless-parent-delegation
in order to be more generic.
Closes#6953
Pylint now usestowncrier
for changelog generation.
Refs#6974
Updateastroid
to 2.12.
Refs#7153
Fix crash when a type-annotated__slots__
with no value is declared.
Closes#7280
Internal Changes
Fixed an issue where it was impossible to update functional tests output when the existing
output was impossible to parse. Instead of raising an error we raise a warning message and
let the functional test fail with a default value.
Refs#6891
pylint.testutils.primer
is now a private API.
Refs#6905
We changed the way we handle the changelog internally by using towncrier.
If you're a contributor you won't have to fix merge conflicts in the
changelog anymore.
Closes#6974
Pylint is now using Scorecards to implement security recommendations from the
OpenSSF <https://openssf.org/>
_. This is done in order to secure our supply chains using a combination
of automated tooling and best practices, most of which were already implemented before.
Refs#7267
relekang/python-semantic-release
Compare Source
Fix
Documentation
Compare Source
Feature
- Add setting for enforcing textual changelog sections (#502) (
988437d
)
Documentation
- Correct documented default behaviour for
commit_version_number
(#497) (ffae2dc
)
Compare Source
Fix
- Account for trailing newlines in commit messages (#495) (
111b151
)
Compare Source
Fix
- Use
commit_subject
when searching for release commits (#488) (3849ed9
)
Configuration
📅Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻Immortal: This PR will be recreated if closed unmerged. Getconfig help if that's undesired.
This PR has been generated byMend Renovate. View repository job loghere.
This PR contains the following updates:
v4.2.0
->v4.3.0
v6.0.0
->v6.0.1
v3
->v3.1.1
v2.32.2
->v2.35.0
32.201.2
->32.238.4
v2.14.5
->v2.15.4
v7.31.2
->v7.32.1
==0.9.1
->==0.10.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, insteadcreate a Discussion in the Renovate repository if you have any questions.Release Notes
actions/setup-python
v4.3.0
Compare Source
actions/stale
v6.0.1
Compare Source
Update@actions/core to 1.10.0#839
Full Changelog:actions/stale@v6.0.0...v6.0.1
codecov/codecov-action
v3.1.1
Compare Source
What's Changed
network
entry in table by@kevmoo inhttps://github.com/codecov/codecov-action/pull/783New Contributors
Full Changelog:codecov/codecov-action@v3.1.0...v3.1.1
v3.1.0
Compare Source
3.1.0
Features
xcode
arguments for the Codecov uploaderDependencies
commitizen-tools/commitizen
v2.35.0
Compare Source
Feat
v2.34.0
Compare Source
Feat
Fix
v2.33.1
Compare Source
Fix
CHANGELOG.md
gets git added and commited correctlyv2.33.0
Compare Source
Feat
v2.32.7
Compare Source
Fix
v2.32.6
Compare Source
Fix
v2.32.5
Compare Source
Fix
v2.32.4
Compare Source
Refactor
v2.32.3
Compare Source
Fix
maxbrunet/pre-commit-renovate
v32.238.4
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.4 for more changes
v32.238.3
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.3 for more changes
v32.238.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.2 for more changes
v32.238.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.238.1 for more changes
v32.237.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.237.0 for more changes
v32.236.4
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.4 for more changes
v32.236.3
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.3 for more changes
v32.236.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.2 for more changes
v32.236.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.1 for more changes
v32.236.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.236.0 for more changes
v32.235.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.235.0 for more changes
v32.234.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.234.2 for more changes
v32.234.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.234.1 for more changes
v32.232.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.232.1 for more changes
v32.232.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.232.0 for more changes
v32.231.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.231.1 for more changes
v32.231.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.231.0 for more changes
v32.230.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.230.0 for more changes
v32.229.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.229.0 for more changes
v32.228.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.228.0 for more changes
v32.226.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.226.1 for more changes
v32.226.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.226.0 for more changes
v32.225.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.225.1 for more changes
v32.225.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.225.0 for more changes
v32.224.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.224.0 for more changes
v32.223.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.223.0 for more changes
v32.222.4
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.222.4 for more changes
v32.222.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.222.2 for more changes
v32.221.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.221.1 for more changes
v32.221.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.221.0 for more changes
v32.220.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.220.1 for more changes
v32.219.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.219.0 for more changes
v32.217.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.217.0 for more changes
v32.216.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.216.0 for more changes
v32.215.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.215.0 for more changes
v32.214.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.214.0 for more changes
v32.213.3
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.3 for more changes
v32.213.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.2 for more changes
v32.213.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.1 for more changes
v32.213.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.213.0 for more changes
v32.212.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.212.0 for more changes
v32.211.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.211.2 for more changes
v32.211.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.211.1 for more changes
v32.211.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.211.0 for more changes
v32.210.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.210.0 for more changes
v32.209.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.209.0 for more changes
v32.208.3
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.3 for more changes
v32.208.2
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.2 for more changes
v32.208.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.1 for more changes
v32.208.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.208.0 for more changes
v32.206.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.206.0 for more changes
v32.204.5
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.5 for more changes
v32.204.4
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.4 for more changes
v32.204.3
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.3 for more changes
v32.204.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.1 for more changes
v32.204.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.204.0 for more changes
v32.203.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.203.0 for more changes
v32.202.6
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.6 for more changes
v32.202.5
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.5 for more changes
v32.202.4
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.4 for more changes
v32.202.3
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.3 for more changes
v32.202.1
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.1 for more changes
v32.202.0
Compare Source
Seehttps://github.com/renovatebot/renovate/releases/tag/32.202.0 for more changes
pycqa/pylint
v2.15.4
Compare Source
False Positives Fixed
Fix the message for
unnecessary-dunder-call
for__aiter__
and__aneext__
. Alsoonly emit the warning when
py-version
>= 3.10.Closes#7529
Other Bug Fixes
Fix bug in detecting
unused-variable
when iterating on variable.Closes#3044
Fixed handling of
--
as separator between positional arguments and flags.This was not actually fixed in 2.14.5.
Closes#7003, Refs#7096
Report
no-self-argument
rather thanno-method-argument
for methodswith variadic arguments.
Closes#7507
Fixed an issue where
syntax-error
couldn't be raised on files withinvalid encodings.
Closes#7522
Fix false positive for
redefined-outer-name
when aliasingtyping
e.g. as
t
and guarding imports undert.TYPE_CHECKING
.Closes#7524
Fixed a crash of the
modified_iterating
checker when iterating on a setdefined as a class attribute.
Closes#7528
Fix bug in scanning of names inside arguments to
typing.Literal
.Seehttps://peps.python.org/pep-0586/#literals-enums-and-forward-references
for details.
Refs#3299
Other Changes
Add method name to the error messages of
no-method-argument
andno-self-argument
.Closes#7507
v2.15.3
Compare Source
Fixed a crash in the
unhashable-member
checker when using alambda
as a dict key.Closes#7453
Fix a crash in the
modified-iterating-dict
checker involving instance attributes.Closes#7461
invalid-class-object
does not crash anymore when__class__
is assigned alongside another variable.Closes#7467
Fix false positive for
global-variable-not-assigned
when a global variable is re-assigned via anImportFrom
node.Closes#4809
Fix false positive for
undefined-loop-variable
infor-else
loops that use a functionhaving a return type annotation of
NoReturn
orNever
.Closes#7311
--help-msg
now accepts a comma-separated list of message IDs again.Closes#7471
v2.15.2
Compare Source
Fixed a case where custom plugins specified by command line could silently fail.
Specifically, if a plugin relies on the
init-hook
option changingsys.path
beforeit can be imported, this will now emit a
bad-plugin-value
message. Before thischange, it would silently fail to register the plugin for use, but would load
any configuration, which could have unintended effects.
Fixes part of#7264.
Fix
used-before-assignment
for functions/classes defined in type checking guard.Closes#7368
Update
modified_iterating
checker to fix a crash withfor
loops on empty list.Closes#7380
The
docparams
extension now considers typing in Numpy style docstringsas "documentation" for the
missing-param-doc
message.Refs#7398
Fix false positive for
unused-variable
andunused-import
when a name is only used in a string literal type annotation.Closes#3299
Fix false positive for
too-many-function-args
when a function call is assigned to a class attribute inside the class where the function is defined.Closes#6592
Fix
used-before-assignment
for functions/classes defined in type checking guard.Closes#7368
Fix ignored files being linted when passed on stdin.
Closes#4354
missing-return-doc
,missing-raises-doc
andmissing-yields-doc
now respectthe
no-docstring-rgx
option.Closes#4743
Don't crash on
OSError
in config file discovery.Closes#7169
disable-next
is now correctly scoped to only the succeeding line.Closes#7401
Update
modified_iterating
checker to fix a crash withfor
loops on empty list.Closes#7380
v2.15.1
Compare Source
Fix
used-before-assignment
for functions/classes defined in type checking guard.Closes#7368
Update
modified_iterating
checker to fix a crash withfor
loops on empty list.Closes#7380
The
docparams
extension now considers typing in Numpy style docstringsas "documentation" for the
missing-param-doc
message.Refs#7398
Fix false positive for
unused-variable
andunused-import
when a name is only used in a string literal type annotation.Closes#3299
Fix false positive for
too-many-function-args
when a function call is assigned to a class attribute inside the class where the function is defined.Closes#6592
Fix
used-before-assignment
for functions/classes defined in type checking guard.Closes#7368
Fix ignored files being linted when passed on stdin.
Closes#4354
missing-return-doc
,missing-raises-doc
andmissing-yields-doc
now respectthe
no-docstring-rgx
option.Closes#4743
Don't crash on
OSError
in config file discovery.Closes#7169
disable-next
is now correctly scoped to only the succeeding line.Closes#7401
Update
modified_iterating
checker to fix a crash withfor
loops on empty list.Closes#7380
v2.15.0
Compare Source
In pylint 2.15.0, we added a new check
missing-timeout
to warn of default timeout values that could cause a program to be hanging indefinitely.We improved
pylint
's handling of namespace packages. More packages should be linted without resorting to using the--recursive=y
option.We still welcome any community effort to help review, integrate, and add good/bad examples to the doc forhttps://github.com/PyCQA/pylint/issues/5953. This should be doable without any
pylint
orastroid
knowledge, so this is the perfect entrypoint if you want to contribute topylint
or open source without any experience with our code!Internally, we changed the way we generate the release notes, thanks to DudeNr33. There will be no more conflict resolution to do in the changelog, and every contributor rejoice.
Marc Byrne became a maintainer, welcome to the team !
New Checks
Added new checker
missing-timeout
to warn of default timeout values that could causea program to be hanging indefinitely.
Refs#6780
False Positives Fixed
Don't report
super-init-not-called
for abstract__init__
methods.Closes#3975
Don't report
unsupported-binary-operation
on Python <= 3.9 when using the|
operatorwith types, if one has a metaclass that overloads
__or__
or__ror__
as appropriate.Closes#4951
Don't report
no-value-for-parameter
for dataclasses fields annotated withKW_ONLY
.Closes#5767
Fixed inference of
Enums
when they are imported under an alias.Closes#5776
Prevent false positives when accessing
PurePath.parents
by index (not slice) on Python 3.10+.Closes#5832
unnecessary-list-index-lookup
is now more conservative to avoid potential false positives.Closes#6896
Fix double emitting
trailing-whitespace
for multi-line docstrings.Closes#6936
import-error
now correctly checks forcontextlib.suppress
guards on import statements.Closes#7270
Fix false positive for
no-self-argument
/no-method-argument
when a staticmethod is applied to a function but uses a different name.Closes#7300
Fix
undefined-loop-variable
withbreak
andcontinue
statements inelse
blocks.Refs#7311
False Negatives Fixed
Emit
used-before-assignment
when relying on a name that is reimported later in a function.Closes#4624
Emit
used-before-assignment
for self-referencing named expressions (:=
) lackingprior assignments.
Closes#5653
Emit
used-before-assignment
for self-referencing assignments under if conditions.Closes#6643
Emit
modified-iterating-list
and analogous messages for dicts and sets when iteratingliterals, or when using the
del
keyword.Closes#6648
Emit
used-before-assignment
when calling nested functions before assignment.Closes#6812
Emit
nonlocal-without-binding
when a nonlocal name has been assigned at a later point in the same scope.Closes#6883
Emit
using-constant-test
when testing the truth value of a variable or call resultholding a generator.
Closes#6909
Rename
unhashable-dict-key
tounhashable-member
and emit when creating sets and dicts,not just when accessing dicts.
Closes#7034, Closes#7055
Other Bug Fixes
Fix a failure to lint packages with
__init__.py
contained in directories lacking__init__.py
.Closes#1667
Fixed a syntax-error crash that was not handled properly when the declared encoding of a file
was
utf-9
.Closes#3860
Fix a crash in the
not-callable
check when there is ambiguity whether an instance is being incorrectly provided to__new__()
.Closes#7109
Fix crash when regex option raises a
re.error
exception.Closes#7202
Fix
undefined-loop-variable
from walrus in comprehension test.Closes#7222
Check for
<cwd>
before removing first item fromsys.path
inmodify_sys_path
.Closes#7231
Fix sys.path pollution in parallel mode.
Closes#7246
Prevent
useless-parent-delegation
for delegating to a builtinwritten in C (e.g.
Exception.__init__
) with non-self arguments.Closes#7319
Other Changes
bad-exception-context
has been renamed tobad-exception-cause
as it is about the cause and not the context.Closes#3694
The message for
literal-comparison
is now more explicit about the problem and thesolution.
Closes#5237
useless-super-delegation
has been renamed touseless-parent-delegation
in order to be more generic.Closes#6953
Pylint now uses
towncrier
for changelog generation.Refs#6974
Update
astroid
to 2.12.Refs#7153
Fix crash when a type-annotated
__slots__
with no value is declared.Closes#7280
Internal Changes
Fixed an issue where it was impossible to update functional tests output when the existing
output was impossible to parse. Instead of raising an error we raise a warning message and
let the functional test fail with a default value.
Refs#6891
pylint.testutils.primer
is now a private API.Refs#6905
We changed the way we handle the changelog internally by using towncrier.
If you're a contributor you won't have to fix merge conflicts in the
changelog anymore.
Closes#6974
Pylint is now using Scorecards to implement security recommendations from the
OpenSSF <https://openssf.org/>
_. This is done in order to secure our supply chains using a combinationof automated tooling and best practices, most of which were already implemented before.
Refs#7267
relekang/python-semantic-release
v7.32.1
Compare Source
Fix
d47afb6
)Documentation
3717e0d
)v7.32.0
Compare Source
Feature
988437d
)Documentation
commit_version_number
(#497) (ffae2dc
)v7.31.4
Compare Source
Fix
111b151
)v7.31.3
Compare Source
Fix
commit_subject
when searching for release commits (#488) (3849ed9
)Configuration
📅Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻Immortal: This PR will be recreated if closed unmerged. Getconfig help if that's undesired.
This PR has been generated byMend Renovate. View repository job loghere.