Skip to content

do not use setup.cfg file that does not have tox:tox namespace #1045

@williamjamir

Description

@williamjamir

Hi,

I would like to suggest a check to ensure that a tox.ini file is present when calling the tox command.

I'm saying this because by mistake I've named the file tox.ini as .tox.ini and took me a time to figure it out the problem.

The build had five stages:

py27, py36, py37, linting, docs

Link for the Travis build with all stages listed

The stages py27, py36, py37 was marked as "successful", even though nothing was tested.
Link for the job py37

While the stages linting and docs were raising an Error

ERROR: unknown environment 'linting'

I believe that this type of information leads to misinterpretation since the user could believe that the configuration is ok (because the py* was marked as successful) and the problem is related with the "linting/docs" stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationfeature:newsomething does not exist yet, but shouldhelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.level:mediumrought estimate that this might be neither easy nor hard to implement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions