Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37857370
en ru br
ALT Linux repos
5.0: 0.15.2-alt1
4.1: 0.12.2-alt3.1
4.0: 0.12.2-alt3

Group :: Development/Python
RPM: pylint

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define name pylint
%define version 0.15.2
%define release alt1

%setup_python_module %name

Name: %name
Version: %version
Release: %release

Summary: Python code static checker
License: GPLv2+
Group: Development/Python

BuildArch: noarch

Url: http://www.logilab.org/project/name/pylint
Source: %name-%version.tar.gz

Packager: Andrey Rahmatullin <wrar at altlinux.ru>

%py_requires logilab.astng

%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.

%prep
%setup -n %name-%version

%build
env CFLAGS="%optflags" %__python setup.py build

%install
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
grep -v test/ INSTALLED_FILES > INSTALLED_FILES2
rm -rf %buildroot%python_sitelibdir/%name/test

%files -f INSTALLED_FILES2
%doc ChangeLog README TODO doc/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin