Hi all,
I need some advice about what to do with a pylint result.
The code in which pylint runs looks similar to this
try:
import module1.submodule1.submodule2.dynamicthing
except:
logger.warn('failed to import dynamicthing')
And the result is E0611:
No name 'dynamicthing' in module 'm
Hi Sylvain,
Is the bug day still on? What day will it be?
Thanks
-hans
2011/6/20 Sylvain Thénault
> On 17 juin 12:09, Hans Sebastian wrote:
> > Hi,
>
> Hi,
>
> > I am interested to help out. I know very little of pylint's code base but
> > I'll try m
Hi,
I am interested to help out. I know very little of pylint's code base but
I'll try my best to tackle easy bugs. Otherwise, I can help repro bugs or
verify bugs or wherever is needed.
However Paris is a bit to far for me, but I can join remotely from SF. What
time will it be?
Thanks
-hans
2
.InferenceError, ex:
if re.search('win', modname) is not None:
self.add_message("R0402", args=modname, node=importnode)
else:
self.add_message("F0401", args=modname, node=importnode)
def register(linter):
"&q
ion.lower() == "default":
raise ValueError, 'Invalid section name: %s' % section
if section in self._sections:
> raise DuplicateSectionError(section)
E DuplicateSectionError: Section 'IMPORTS' already exists
Anyway, thanks
Oh sorry. I also comment out the register method in
pylint/checkers/imports.py when I get this error.
-hans
2011/4/29 Hans Sebastian
> Jean-Michel,
>
> Thanks for the reply. We ended up using the pylint disable comment as well
> for one or two unrelated cases. That's a cool
ode)
def register(linter):
"""required method to auto register this checker """
linter.register_checker(MyImportChecker(linter))
Does anyone know what is wrong? Thank you very much all.
-hans
2011/4/29 Jean-Michel Pichavant
> Hans Sebastian w
Hi,
I need help or suggestions from you guys for a problem that I have with
pylint code E0401:
F0401: 6: Unable to import 'win32api'
F0401: 6: Unable to import 'win32con'
The software/package that I run pylint against supports multiple platforms.
One of them is Windows and for the windows buil
2011/2/16 Jürgen Hermann
> > My task is basically to find all python scripts in the source repository
> and run pylint on each.
>
> The best way to do that is to make your scripts (almost) look like any
> other module in your package, and then either start them via "python -m
> yourpkg.scripts.fo
2011/2/15 Hans Sebastian
> Thanks for the reply Sylvain,
>
> 2011/2/14 Sylvain Thénault
>
> On Tue, Feb 15, 2011 at 12:06 AM, Hans Sebastian
>> wrote:
>> > Hi Sylvain Thenault,
>>
>> Hi,
>>
>> > My name is Hans. For a few days I'
Thanks for the reply Sylvain,
2011/2/14 Sylvain Thénault
> On Tue, Feb 15, 2011 at 12:06 AM, Hans Sebastian
> wrote:
> > Hi Sylvain Thenault,
>
> Hi,
>
> > My name is Hans. For a few days I've started using pylint, been liking it
> > very much but have
11 matches
Mail list logo