2023-10-09 19:39:16 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message:
py-pylint: updated to 3.0.1
3.0.0
Pylint now support python 3.12 officially.
This long anticipated major version also provides some important usability and \
performance improvements, along with enacting necessary breaking changes and \
long-announced deprecations. The documentation of each message with an example \
is very close too.
The required astroid version is now 3.0.0. See the astroid changelog for \
additional fixes, features, and performance improvements applicable to pylint.
Our code is now fully typed. The invalid-name message no longer checks for a \
minimum length of 3 characters by default. Dependencies like wrapt or setuptools \
were removed.
A new json2 reporter has been added. It features an enriched output that is \
easier to parse and provides more info.
|
2023-09-28 17:56:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.17.6
v2.17.6
Other Bug Fixes
When parsing comma-separated lists of regular expressions in the config,
ignore commas that are inside braces since those indicate quantifiers, not
delineation between expressions.
sys.argv is now always correctly considered as impossible to infer
(instead of using the actual values given to pylint).
Don't show class fields more than once in Pyreverse diagrams.
Don't show arrows more than once in Pyreverse diagrams.
Don't show duplicate type annotations in Pyreverse diagrams.
Don't add Optional to | annotations with None in Pyreverse diagrams.
|
2023-07-26 17:29:02 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.17.5
What's new in Pylint 2.17.5?
False Positives Fixed
Fix a false positive for unused-variable when there is an import in a
if TYPE_CHECKING: block and allow-global-unused-variables is set to
no in the configuration.
Fix false positives generated when supplying arguments as **kwargs to IO
calls like open().
Fix a false positive where pylint was ignoring method calls annotated as
NoReturn during the inconsistent-return-statements check.
Exempt parents with only type annotations from the invalid-enum-extension
message.
|
2023-05-07 10:10:29 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.17.4
2.17.4
False Positives Fixed
Fix a false positive for bad-dunder-name when there is a user-defined
__index__ method.
Other Bug Fixes
pyreverse: added escaping of vertical bar character in annotation labels
produced by DOT printer to ensure it is not treated as field separator of
record-based nodes.
Fixed a crash when generating a configuration file:
tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key
caused by tomlkit v0.11.8.
|
2023-04-27 19:54:15 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.17.3
What's new in Pylint 2.17.3?
False Positives Fixed
Fix unused-argument false positive when __new__ does not use all the
arguments of __init__.
Fix unused-import false positive for usage of six.with_metaclass.
logging-not-lazy is not longer emitted for explicitly concatenated string
arguments.
Fix false positive for isinstance-second-argument-not-valid-type when union
types contains None.
Fixed unused-import so that it observes the dummy-variables-rgx option.
Union typed variables without assignment are no longer treated as
TypeAlias.
Fix false positive for positional-only-arguments-expected when a function
contains both a positional-only parameter that has a default value, and
**kwargs.
Fix false positive for keyword-arg-before-vararg when a positional-only
parameter with a default value precedes *args.
Other Bug Fixes
Improve output of consider-using-generator message for min()` calls with \
default`` keyword.
|
2023-04-05 13:21:05 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.17.2
What's new in Pylint 2.17.2?
False Positives Fixed
invalid-name now allows for integers in typealias names: - now valid: Good2Name, \
GoodName2. - still invalid: _1BadName.
No longer consider Union as type annotation as type alias for naming checks.
unnecessary-lambda no longer warns on lambdas which use its parameters in their \
body (other than the final arguments), e.g. lambda foo: (bar if foo else \
baz)(foo).
Other Bug Fixes
Fix a crash in pyreverse when "/" characters are used in the output \
filename e.g pyreverse -o png -p name/ path/to/project.
What's new in Pylint 2.17.1?
False Positives Fixed
Adds asyncSetUp to the default defining-attr-methods list to silence \
attribute-defined-outside-init warning when using \
unittest.IsolatedAsyncioTestCase.
|
2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96) |
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
|
2023-03-09 10:50:20 by Adam Ciarcinski | Files touched by this commit (3) |
Log message:
py-pylint: updadted to 2.17.0
2.17.0
2.17 is a small release that is the first to support python 3.11 officially
with the addition of TryStar nodes.
There's still two new default checks: bad-chained-comparison and
implicit-flag-alias, one of them already fixed a previously undetected
bug in sentry.
Thanks to the community effort our documentation is almost complete,
and almost all messages should have a proper documentation now.
A big thank you to everyone who participated !
The next release is going to be 3.0.0, bring breaking changes and
enact long announced deprecations. There's going to be frequent beta
releases, before the official releases, everyone is welcome to try the betas
so we find problems before the actual release.
|
2023-02-14 09:52:35 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.16.2
What's new in Pylint 2.16.2?
New Features
Add --version option to pyreverse.
False Positives Fixed
Fix false positive for used-before-assignment when typing.TYPE_CHECKING is used \
with if/elif/else blocks.
Fix false positive for used-before-assignment for named expressions appearing \
after the first element in a list, tuple, or set.
Other Bug Fixes
Fix used-before-assignment false positive when the walrus operator is used with \
a ternary operator in dictionary key/value initialization.
Fix no-name-in-module false positive raised when a package defines a variable \
with the same name as one of its submodules.
Fix nested-min-max suggestion message to indicate it's possible to splat \
iterable objects.
Fix a crash happening when a class attribute was negated in the start argument \
of an enumerate.
|
2023-01-24 11:08:07 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pylint: updated to 2.15.10
What's new in Pylint 2.15.10?
False Positives Fixed
Fix use-sequence-for-iteration when unpacking a set with *.
Fix false positive assigning-non-slot when a class attribute is re-assigned.
Fixes used-before-assignment false positive when the walrus operator is used in \
a ternary operator.
Prevent used-before-assignment when imports guarded by if
TYPE_CHECKING are guarded again when used.
Other Bug Fixes
Using custom braces in msg-template will now work properly.
|