2022-12-18 11:03:29 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.9
What's new in Pylint 2.15.9?
False Positives Fixed
Fix false-positive for used-before-assignment in pattern matching with a guard.
Other Bug Fixes
Pylint will no longer deadlock if a parallel job is killed but fail immediately \
instead.
When pylint exit due to bad arguments being provided the exit code will now be \
the expected 32.
Fixes a ModuleNotFound exception when running pylint on a Django project with \
the pylint_django plugin enabled.
|
2022-12-06 09:21:18 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.8
1.5.4
Merge StringMethodChecker with StringFormatChecker. This fixes a bug where \
disabling all the messages and enabling only a handful of messages from the \
StringFormatChecker would have resulted in no messages at all.
Don’t apply unneeded-not over sets.
|
2022-11-29 18:00:45 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.7
What's new in Pylint 2.15.7?
False Positives Fixed
Fix deprecated-method false positive when alias for method is similar to name of \
deprecated method.
Fix a false positive for used-before-assignment for imports guarded by \
typing.TYPE_CHECKING later used in variable annotations.
Other Bug Fixes
Pylint will now filter duplicates given to it before linting. The output should \
be the same whether a file is given/discovered multiple times or not.
Fixes a crash in stop-iteration-return when the next builtin is called without \
arguments.
|
2022-11-20 18:52:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.6
What's new in Pylint 2.15.6?
False Positives Fixed
Fix false positive for unhashable-member when subclassing dict and using the \
subclass as a dictionary key.
unnecessary-list-index-lookup will not be wrongly emitted if enumerate is called \
with start.
Don't warn about stop-iteration-return when using next() over itertools.cycle.
Other Bug Fixes
Messages sent to reporter are now copied so a reporter cannot modify the message \
sent to other reporters.
Fixes edge case of custom method named next raised an astroid error.
Fix crash that happened when parsing files with unexpected encoding starting \
with 'utf' like utf13.
Fix a crash when a child class with an __init__ method inherits from a parent \
class with an __init__ class attribute.
|
2022-10-25 11:29:24 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.5
What's new in Pylint 2.15.5?
False Positives Fixed
Fix a false positive for simplify-boolean-expression when multiple values are \
inferred for a constant.
Other Bug Fixes
Remove __index__ dunder method call from unnecessary-dunder-call check.
Fixed a multi-processing crash that prevents using any more than 1 thread on MacOS.
The returned module objects and errors that were cached by the linter plugin \
loader cannot be reliably pickled. This means that dill would throw an error \
when attempting to serialise the linter object for multi-processing use.
Other Changes
Add a keyword-only compare_constants argument to safe_infer.
Sort --generated-rcfile output.
|
2022-10-12 09:45:17 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.4
v2.15.4
False Positives Fixed
Fix the message for unnecessary-dunder-call for __aiter__ and
__aneext__. Also
only emit the warning when py-version >= 3.10.
Other Bug Fixes
Fix bug in detecting unused-variable when iterating on variable.
Fixed handling of -- as separator between positional arguments and flags.
This was not actually fixed in 2.14.5.
Report no-self-argument rather than no-method-argument for methods
with variadic arguments.
Fixed an issue where syntax-error couldn't be raised on files with
invalid encodings.
Fix false positive for redefined-outer-name when aliasing typing
e.g. as t and guarding imports under t.TYPE_CHECKING.
Fixed a crash of the modified_iterating checker when iterating on a set
defined as a class attribute.
Fix bug in scanning of names inside arguments to typing.Literal.
See https://peps.python.org/pep-0586/#literals-enums-and-forward-references
for details.
Other Changes
Add method name to the error messages of no-method-argument and
no-self-argument.
|
2022-09-26 19:50:09 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.3
v2.15.3
Fixed a crash in the unhashable-member checker when using a lambda as a dict key.
Fix a crash in the modified-iterating-dict checker involving instance attributes.
invalid-class-object does not crash anymore when __class__ is assigned alongside \
another variable.
Fix false positive for global-variable-not-assigned when a global variable is \
re-assigned via an ImportFrom node.
Fix false positive for undefined-loop-variable in for-else loops that use a function
having a return type annotation of NoReturn or Never.
--help-msg now accepts a comma-separated list of message IDs again.
|
2022-09-12 10:29:12 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.2
What's new in Pylint 2.15.2?
Fixed a case where custom plugins specified by command line could silently fail.
Specifically, if a plugin relies on the init-hook option changing sys.path \
before it can be imported, this will now emit a bad-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.
Fix used-before-assignment for functions/classes defined in type checking guard.
Update modified_iterating checker to fix a crash with for loops on empty list.
The docparams extension now considers typing in Numpy style docstrings as \
"documentation" for the missing-param-doc message.
Fix false positive for unused-variable and unused-import when a name is only \
used in a string literal type annotation.
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.
Fix used-before-assignment for functions/classes defined in type checking guard.
Fix ignored files being linted when passed on stdin.
missing-return-doc, missing-raises-doc and missing-yields-doc now respect the \
no-docstring-rgx option.
Don't crash on OSError in config file discovery.
disable-next is now correctly scoped to only the succeeding line.
Update modified_iterating checker to fix a crash with for loops on empty list.
|
2022-09-01 22:25:30 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-pylint: add missing build dependency
Fix some pkglint while here.
|
2022-08-30 12:01:18 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pylint: updated to 2.15.0
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 for 5953. This should be doable without any pylint \
or astroid knowledge, so this is the perfect entrypoint if you want to \
contribute to pylint 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.
|