BSD Ports

devel/py-pylint 4.0.8 NetBSD

Python source code analyzer

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
9469c4386d
License
gnu-gpl-v2
Categories
devel, python
Package size
921.0 KiB, 6207.9 KiB installed

Description

Pylint is a Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells (as defined in Martin Fowler's Refactoring book). Pylint can be seen as another PyChecker since nearly all tests you can do with PyChecker can also be done with Pylint. However, Pylint offers some more features, like checking length of lines of code, checking if variable names are well-formed according to your coding standard, or checking if declared interfaces are truly implemented, and much more. Additionally, it is possible to write plugins to add your own checks.

Version history 6

  1. 4.0.8 9469c4386d
  2. 4.1.3 9213990aee
  3. 4.1.2 c9a2aa626a
  4. 4.0.9 aea845e65b
  5. 4.0.8 226b5d86b8
  6. 4.0.7 59573a5b26

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-pylint

From pkgsrc:

cd /usr/pkgsrc/devel/py-pylint && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.0.8
NetBSD 10.1 aarch644.0.8
SmartOS / illumos x86_644.1.3
macOS 15 arm644.1.3

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 7

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pylint-4.0.8, py313-pylint-4.0.8, py314-pylint-4.0.8

Commit history 6

DateCommitCreditsLog message
9469c4386d adam py-pylint: forget Python 3.10
9213990aee adam py-pylint: updated to 4.1.3
What's new in Pylint 4.1.3? False Positives Fixed - Fixed a false positive for ``attribute-defined-outside-init`` when an attribute is assigned inside the setter of an old-style, non-decorator ``property(fget, fset)`` call. The decorator form (``@property`` / ``@x.setter``) was already exempted by the fix for 409; the classic call form was not. - Fix a false positive for ``used-before-assignment`` when a name bound by an earlier target of the same assignment is used by a later target, as in ``a = b[a] = 0``. - Fix a ``no-member`` false positive in a comprehension inside a branch that cannot run, such as ``if sys.platform == "win32":`` on Linux. Like the rest of the branch, the comprehension is no longer checked for missing members. …
c9a2aa626a wiz py-pylint: update to 4.1.2.
4.1.2 False Positives Fixed Fixed a false positive unbalanced-tuple-unpacking when unpacking a tuple concatenation whose elements have several possible values. Fixed by upgrading astroid to 4.3.3. Closes #2621 Other Bug Fixes Fixed a crash when calling __bases__ on a class. Fixed by upgrading astroid to 4.3.3. Closes #11491 Fix a crash (astroid-error) when the class of a called attribute cannot be fully inferred, for example when the attribute is used as a with statement target or inside a comprehension. Closes #11492 Fix a crash when a name bound by a type statement (a TypeVar) is used in a with statement. Closes #11510 Fixed a crash (TypeError) in the variables checker when checking a class …
aea845e65b adam py-pylint: updated to 4.0.9
What's new in Pylint 4.0.9? False Positives Fixed - Fixed a false positive for ``no-self-use`` on a method that only uses ``self`` before a locally defined class (or other nested method), because the checker's could-be-a-function tracking state was not restored after visiting the nested method. - Fix a false positive for :ref:`not-callable` when calling functions constructed with ``types.FunctionType`` or ``types.LambdaType``. - Fix a false positive for ``unnecessary-direct-lambda-call`` when a directly called lambda in a class body wraps a comprehension containing an assignment expression. PEP 572 makes that a ``SyntaxError`` without the lambda's scope, so following the message produced code that would not compile. …
226b5d86b8 wiz py-pylint: update to 4.0.8.
False Positives Fixed Fix a false positive for :ref:unspecified-encoding when an open call uses a mode argument that cannot be inferred. Closes #10201 Fix a false positive for invalid-name (C0103) on names assigned in an if __name__ == "__main__": block. Such a block reads like a script body, so a name there is now accepted if it matches either the constant or the variable naming style. Closes #10766 Fix false positives for :ref:invalid-str-returned, :ref:invalid-repr-returned, :ref:invalid-format-returned, :ref:invalid-bytes-returned, :ref:invalid-hash-returned, :ref:invalid-index-returned, :ref:invalid-length-returned, :ref:invalid-length-hint-returned, :ref:invalid-getnewargs-returned and …

The latest 5 of 6 in the history this site was built from.