Re: [Python-projects] out of sync hgview repository on bitbucket

2014-03-01 Thread Alexandre Fayolle ML
On 01/03/2014 15:25, Alexandre Fayolle ML wrote: Hello, I wanted to contribute a fix for a bug I reported on hgview 1.8.0 but I noticed that the hgview repository on bitbucket is out of sync since almost a year now (last tag there is 1.7.1). I attach the patch to the bug report in the mean

[Python-projects] out of sync hgview repository on bitbucket

2014-03-01 Thread Alexandre Fayolle ML
Hello, I wanted to contribute a fix for a bug I reported on hgview 1.8.0 but I noticed that the hgview repository on bitbucket is out of sync since almost a year now (last tag there is 1.7.1). I attach the patch to the bug report in the mean time, but if would certainly be a great thing if y

Re: [Python-projects] New warning about print parens not a good idea?

2014-02-05 Thread Alexandre Fayolle ML
On 06/02/2014 02:13, Dan Stromberg wrote: I noticed recently that pylint has begun warning about use of parens on print statements in Python 2.x code. This seems reasonable on the face of it, except it deters writing code that runs on 2.x and 3.x, unmodified. The error looks like: C: 5, 0

[Python-projects] [PATCH] add support for --disable=all option (closes: #105327)

2012-10-07 Thread Alexandre Fayolle ML
test/input/func_i0013.py | 2 +- test/input/func_i0014.py | 8 test/messages/func_i0014.txt | 2 ++ utils.py | 5 + 9 files changed, 67 insertions(+), 10 deletions(-) # HG changeset patch # User Alexandre Fayolle # Date 1349241828 -7200

Re: [Python-projects] fixing issues

2011-12-07 Thread Alexandre Fayolle
ays to tacke the problem? IMO, this is an IDE's job to get information from Pylint and provide tools to modify the source code. Maybe you could try to integrate Pylint with rope ? http://rope.sourceforge.net/ -- Alexandre Fayolle LOGILAB, Paris (France

Re: [Python-projects] pygobject/gobject-introspection with pylint

2011-12-01 Thread Alexandre Fayolle
rate or point to any plugin provided and maintained by other (hint, hint), and of course we will provide support in the writing of such a plugin. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Dé

Re: [Python-projects] Next release of pylint?

2011-11-30 Thread Alexandre Fayolle
ble to provide an answer. :-) -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab.fr/services Informatique scientifique: http:

Re: [Python-projects] pylint + virtualenv problem

2011-10-25 Thread Alexandre Fayolle
. > > and the code is rated at -6.67/10. > > Is this a bug? How can I avoid this problem? Strange, I don't reproduce and I get 10/10 on the sample code (running py2.6). A possible explanation could be that your pylint is running with another version of Python (for which distuti

Re: [Python-projects] pylint - Exception RuntimeError

2011-10-24 Thread Alexandre Fayolle
le too : see http://www.logilab.org/card/LogilabDebianRepository (which might be a bit outdated in terms of version names but the repositories are there, just change the line in the suggested config). -- Alexandre Fayolle LOGILAB, Paris (France) Formations P

Re: [Python-projects] pylint function args check

2011-09-09 Thread Alexandre Fayolle
a=4) I get an Error flag on the last line, but not on the body of func. Not sure if we can get the type inference to work on that case. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Dév

Re: [Python-projects] logilab-common 0.56.2: Regression in support for Python 3 in logilab.common.decorators.monkeypatch()

2011-09-09 Thread Alexandre Fayolle
hole test suite: Thanks for your report. I added an issue on our tracker[1], we will try and publish a fix for this asap. [1]: https://www.logilab.org/ticket/75290 -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.l

Re: [Python-projects] simple GUI for PyLint

2011-04-08 Thread Alexandre Fayolle
ty shipped with pylint ? It provides a simple GUI for pylint written with Tkinter. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab

Re: [Python-projects] Pylint gives a warning for the filter function

2011-04-08 Thread Alexandre Fayolle
r, you can easily > add comments to disable them on a case by case basis, or set up a pylint > rc file to disable them for an entire project at once. The relevant line in the default pylintrc is bad-functions=map,filter,apply,input You like map, filter and apply? Just remove them fr

Re: [Python-projects] GSoC 2011 Proposal

2011-03-22 Thread Alexandre Fayolle
comment, or a popup menu is eclipse / whatever your favorite python editor is to do that. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab.f

Re: [Python-projects] pylint 0.22.0 : alpha release of python3.x support

2010-12-06 Thread Alexandre Fayolle
build_py}, > > ...) > > This technique is not appropriate (yet) because Pylint uses a bunch of > "unparsable" test files that will fail the build step. What about renaming the unparsable files to '.py.syntaxerror' for example in the archive and have pylin

[Python-projects] linting python3 (Re: [pypy-dev] Question on the future of RPython)

2010-09-29 Thread Alexandre Fayolle
e, and for the record, there is ongoing work on porting pylint to py3k. The discussion is taking place on the python-projects list, and I thought maybe you would be interested in joining. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb,

Re: [Python-projects] When should we lint?

2010-09-06 Thread Alexandre Fayolle
lmost) real time on my source code, using epylint and the elisp code distributed with pylint [1]. Pylint (and lint) won't catch algorithm errors. For these, I use unit testing extensively. [1] people using eclipse get similar benefits from pydev -- Alexandre Fayolle

Re: [Python-projects] Py3k port

2010-08-29 Thread Alexandre Fayolle
soever. /usr/local/bin/pytest is the executable which is run by users, importing logilab.common.pytest (aka pytest.py) which is just library code and does not run any tests. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian :

Re: [Python-projects] Py3k port

2010-08-23 Thread Alexandre Fayolle
t; I do not have a problem with http://wiki.python.org/moin/PyLint-3k, > but do not understand why http://www.logilab.org/add/Card wouldn't > work (log in first). Isn't there the issue that cards are only editable by their author and administrators of the site ? -- Alexandre Fayo

Re: [Python-projects] simple way to run pylint on many files

2010-08-03 Thread Alexandre Fayolle
ould just walk through a list of files and report concisely the > Errors/Warnings/Codingstyle issues and the rating. > > > Nothing I wouldn't be willing to give away. Sorry if I sounded harsh, this was not my intention. As long as you do not distribute the code, it is b

Re: [Python-projects] simple way to run pylint on many files

2010-08-03 Thread Alexandre Fayolle
nsed under the GPL. Doing so means that the code calling Pylint must be licensed under a compatible license. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesu

[Python-projects] Fwd: hgview: don't endlessly pile 'filled' signal connections

2010-06-14 Thread Alexandre Fayolle
Hello, Manually resending a mail that got eaten by the spam filters of the list. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab.fr

Re: [Python-projects] Google Summer Of Code: porting pylint to py3k

2010-04-09 Thread Alexandre Fayolle
ome python internals (ast) will give a little more trouble. But I'd be glad to be proven wrong. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : htt

Re: [Python-projects] Google Summer Of Code: porting pylint to py3k

2010-04-09 Thread Alexandre Fayolle
on http://wiki.python.org/moin/SummerOfCode/2010 -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab.fr/services Informatique scientifique:

Re: [Python-projects] Pylint Tutorial

2010-04-01 Thread Alexandre Fayolle
odule top level are expected to be constants, not variables. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab.fr/services Informatiqu

Re: [Python-projects] Python-Projects Digest, Vol 69, Issue 1

2010-04-01 Thread Alexandre Fayolle
a programming language. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/formations Développement logiciel sur mesure : http://www.logilab.fr/services Informatique scientifique: http://www.logil

Re: [Python-projects] ANN : pylint bug day 2nd edition

2010-03-23 Thread Alexandre Fayolle
On Monday 22 March 2010 18:37:42 Alexandre Fayolle wrote: > Hi everyone > > we'll hold the next `pylint bugs day`_ on april 16th 2010 (friday). If some > of you want to come and work with us in our `Paris office`_, you'll be > much welcome. > > Else you ca

[Python-projects] ANN : pylint bug day 2nd edition

2010-03-22 Thread Alexandre Fayolle
lic on irc://irc.logilab.org See you then! .. _pylint bugs day: https://www.logilab.net/elo/blogentry/18781 .. _paris office: http://www.logilab.fr/contact -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/

[Python-projects] Pylint: Análisis estático del código en Python

2010-03-15 Thread Alexandre Fayolle
For our spanish-reading friends : a blog note about Pylint available at http://blog.milmazz.com.ve/archivos/2010/03/13/pylint-analisis-estatico-del- codigo-en-python -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http

Re: [Python-projects] Requesting Windows rql installer for Python 2.6

2010-03-10 Thread Alexandre Fayolle
itional time because I need to get a VisualStudio 2008 compiler, and I seriously lack time these days. In the meantime, the pure python implementation (using logilab.constraint) should work fine on windows with python 2.6. -- Alexandre Fayolle LOGILAB, P

Re: [Python-projects] Pylint Gui

2010-03-10 Thread Alexandre Fayolle
d to automatically generate the pylintrc file). > I realize this is not a ticket, but would this be useful? I think a gui could greatly simplify Pylint's usage if only by providing filtering options and therefore enabling easy search for some errors without requiring a rerun whi

Re: [Python-projects] Type inference errror

2010-02-24 Thread Alexandre Fayolle
ng, by all means keep your code clean, and do not add tweaks to work around Pylint's limitations. If the false positive is a problem, disable the error locally using a pylint:disable-msg comment. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Cubic

Re: [Python-projects] pylint #18860: warn on assert( a, b ?)

2010-02-18 Thread Alexandre Fayolle
should: > > * add a visit_raise method that will check the nature of the raised > expression to detect potential misusage of a 2-uple Actually, any N-uple with N>=1 shoud trigger this. And even a 0-uple should probably trigger a warning as these are alw

Re: [Python-projects] pylint suggestion lower vs lower()

2010-02-05 Thread Alexandre Fayolle
On Friday 05 February 2010 08:21:24 Sylvain Thénault wrote: > > Could one of you add a ticket? > https://www.logilab.net/elo/ticket/20138 -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, CubicWeb, Debian : http://www.logilab.fr/f

Re: [Python-projects] pylint suggestion lower vs lower()

2010-02-04 Thread Alexandre Fayolle
class Foo: def lower(self): pass ans = Foo() if ans.lower == "yes": pass Additionnaly, I think that if pylint's type inference indicates that ans is a string object, it could know that ans.lower is a method. -- Alexandre Fayolle LOGIL

Re: [Python-projects] hgview: dates missing in window list

2010-01-15 Thread Alexandre Fayolle
On Friday 15 January 2010 11:07:58 Alexandre Fayolle wrote: > Hi Thomas, > > The best way to exchange about hgview is through the mailing list (python- > proje...@lists.logilab.org, I've just sent you an invitation to join. If it > gets eaten by your spam filter, p

[Python-projects] hgview: dates missing in window list

2010-01-15 Thread Alexandre Fayolle
arded Message -- Subject: hgview: dates missing in window list Date: Thursday 14 January 2010 From: Tomas Psika To: David Douard , Alexandre Fayolle , Aurelien Campeas Hi all, I couldnt find any way to create ticket on logilab website. And anonymous users cannot push changes to the s

Re: [Python-projects] Problem found in astng0.19.2/scoped_nodes.py

2009-12-21 Thread Alexandre Fayolle
shows 0.19.2. Fixed. Thanks for the notice. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique scientifiqu

Re: [Python-projects] [W0621] Redefining name from outer scope

2009-11-30 Thread Alexandre Fayolle
ned at the module scope. If you want to use that variable from within the initializer of the Abc class, you can't because it is shadowed by the argument of the same name. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: htt

Re: [Python-projects] Infinite loops in PyLint 0.18.1

2009-11-24 Thread Alexandre Fayolle
tomorrow is Pylint Bug day, and there will be people on irc to help you diagnose this. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.

Re: [Python-projects] Three new miscellaneous pylint checks

2009-11-23 Thread Alexandre Fayolle
On Monday 23 November 2009 11:36:38 Marc 'BlackJack' Rintsch wrote: > Alexandre Fayolle wrote: > > Therefore, imo it deserves an Error. > > But it is no error. It is perfectly legal to implement `__pos__()` in a > way that makes sense to call it repeatedly. hmmm

Re: [Python-projects] Three new miscellaneous pylint checks

2009-11-23 Thread Alexandre Fayolle
yntactically correct but: * in the best case it's a typo (the author wanted to write +x and typed + twice) * in the worst case, the author is a C programmer and meant something else * it is anyway visually confusing and disgraceful. Therefore, imo it deserves an Error. -- Alexandre Fayolle

Re: [Python-projects] pylint bug: E0611 false-positives

2009-11-09 Thread Alexandre Fayolle
rsion (numpy for instance has known issues regarding pyling that were fixed afaik in recent releases of numpy). If it is your own code, we need to know a bit more in order to help you. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian

Re: [Python-projects] comment about hgview Debian package

2009-09-30 Thread Alexandre Fayolle
hich could help in fixing your problem, though. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique scientifique:

[Python-projects] pylint needs you

2009-09-17 Thread Alexandre Fayolle
.org/project/pylint/0.18.1 .. _`2`: http://www.logilab.org/project/logilab-astng/0.19.1 .. _page: http://www.logilab.org/project/pylint/ .. _mercurial: http://www.selenic.com/mercurial/ -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http:/

[Python-projects] pyntch : python checker

2009-09-07 Thread Alexandre Fayolle
Just came across that one. No time to test it yet: http://www.unixuser.org/~euske/python/pyntch/index.html -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure

Re: [Python-projects] hgview / debian

2009-09-01 Thread Alexandre Fayolle
then I found your packages at > > http://ftp.logilab.org > > so, I wonder why hgview wasn't yet pushed into Debian? is there any > objective problem? Lack of time is the main culprit. I'll try and upload it this week. Thanks for motivating me in uploading this package.

[Python-projects] feedback from richburridge

2009-08-31 Thread Alexandre Fayolle
x. Easier to disable". [this is a 'for the record' message. I'm not suggesting that we drop all these by default, especially W0312 and W0311. But I thing it is a good thing to know the usage patterns of pylint users] -- Alexandre Fayolle LOGILAB

Re: [Python-projects] [Python-apps-team] Bug#541063: pylint: --enable-msg does not work

2009-08-25 Thread Alexandre Fayolle
refer writing in french, use http://lists.logilab.org/mailman/listinfo/forum-fr We will do our best to help you and find ways to do what you need with pylint. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logi

[Python-projects] pylint messages wiki

2009-08-24 Thread Alexandre Fayolle
Seen on the net: http://pylint-messages.wikidot.com/ -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique

Re: [Python-projects] pylint suggestion

2009-07-21 Thread Alexandre Fayolle
; %* 2>NUL Why are you throwing away the standard error ? -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informati

Re: [Python-projects] A first impression of pylint

2009-07-20 Thread Alexandre Fayolle
e. I generally achieve this with grep. > maybe it would even be better not to produce a report by default > (the import things are the messages, not the stats). Hmm, maybe. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: h