Skip to content

Diffrent behavoiur with different abs/relative arguments #257

Description

@meteozond

It is quite disappointing when overall project, separate file and folder checks give different results. Here is a little table showing results depended on arguments given.

cmd --absolute-path PATH results
not defined Full path to project . file folder
relative abs relative abs code import-error ignored noqa
-* ok
`pwd` - * ok
. - * ok
lib/__init__.py - * ok
`pwd`/lib/__init__.py - * fail *
lib - * fail**
`pwd`/lib - *fail**
--absolute-path +* ok
--absolute-path `pwd` + * ok
--absolute-path . + * ok
--absolute-path lib/__init__.py + * ok
--absolute-path `pwd`/lib/__init__.py + * ok
--absolute-path lib + * fail**
--absolute-path `pwd`/lib + *fail**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions