Skip to content

buildout with z3c packages fails with import-error #687

@pylint-bot

Description

@pylint-bot

Originally reported by: Adam Groszer (BitBucket: agroszer, GitHub: @agroszer?)


When running $ bin/pylint playground.form

The result is:

No config file found, using default configuration
************* Module playground.form
C:  1, 0: Missing module docstring (missing-docstring)
E:  7, 0: No name 'form' in module 'z3c' (no-name-in-module)
E:  7, 0: Unable to import 'z3c.form' (import-error)
E:  8, 0: No name 'form' in module 'z3c' (no-name-in-module)
E:  8, 0: Unable to import 'z3c.form.browser' (import-error)

But when you run bin/test the test passes, IOW z3c packages can be imported.

I created a repo to repro this:

https://github.com/agroszer/playground


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions